PHPMailer 6.4.1 and earlier contain a vulnerability that can result in untrusted code being called (if such code is injected into the host project's scope by other means). If the $patternselect parameter to validateAddress() is set to 'php' (the default, defined by PHPMailer::$validator), and the global namespace contains a function called php, it will be called in preference to the built-in validator of the same name. Mitigated in PHPMailer 6.5.0 by denying the use of simple strings as validator function names.
Not really happy with this severity, but it doesn't matter since it's all
unstable anyway. Please cleanup.
The bug has been referenced in the following commit(s):
Author: Michael Orlitzky <email@example.com>
AuthorDate: 2021-07-01 19:25:09 +0000
Commit: Michael Orlitzky <firstname.lastname@example.org>
CommitDate: 2021-07-01 19:25:09 +0000
dev-php/PHPMailer: remove vulnerable PHPMailer-6.4.1.ebuild.
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Michael Orlitzky <email@example.com>
dev-php/PHPMailer/Manifest | 1 -
dev-php/PHPMailer/PHPMailer-6.4.1.ebuild | 74 --------------------------------
2 files changed, 75 deletions(-)
Thanks! (Sorry for bad summary, terrible accident)