深刻度 高
PHPMailer untrusted code may be run from an overridden address validator
phpmailer/phpmailer(ライブラリ)の脆弱性です。深刻度は「高」、CVSS は 8.1です。修正版は 6.5.0 です。
- 対象
- phpmailer/phpmailer(ライブラリ)
- CVE 番号
- CVE-2021-3603
- 深刻度
- 高CVSS 8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- 影響を受けるバージョン
- 6.5.0 未満
- 修正版
- 6.5.0
- 公開日
- 情報の更新日
- 出典
- OSV.dev(GitHub Advisory を含む OSS 脆弱性データベース)
どのような脆弱性ですか
日本語解説は確認中です。
If a function is defined that has the same name as the default built-in email address validation scheme (`php`), it will be called in default configuration as when no validation scheme is provided, the default scheme's callable `php` was being called. If an attacker is able to inject such a functio…(原文の抜粋です。全文は下の参考情報から確認できます)
どう対応すればよいですか
phpmailer/phpmailer を、修正版の 6.5.0 以降に更新してください。
更新の前に、サイトのバックアップを取っておくと、不具合が出たときに戻せます。
参考情報
- https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-77mr-wc79-m8j3(新しいタブで開きます)
- https://nvd.nist.gov/vuln/detail/CVE-2021-3603(新しいタブで開きます)
- https://github.com/PHPMailer/PHPMailer/commit/45f3c18dc6a2de1cb1bf49b9b249a9ee36a5f7f3(新しいタブで開きます)
- https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmailer/phpmailer/CVE-2021-3603.yaml(新しいタブで開きます)
- https://github.com/PHPMailer/PHPMailer(新しいタブで開きます)
- https://github.com/PHPMailer/PHPMailer/releases/tag/v6.5.0(新しいタブで開きます)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3YRMWGA4VTMXFB22KICMB7YMFZNFV3EJ(新しいタブで開きます)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FJYSOFCUBS67J3TKR74SD3C454N7VTYM(新しいタブで開きます)
- https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-3603(新しいタブで開きます)
- https://www.huntr.dev/bounties/1-PHPMailer/PHPMailer(新しいタブで開きます)
phpmailer/phpmailer のほかの脆弱性
あなたのサイトは影響を受けていますか
Cyber Shield Guard は、サイトで使っているプラグインとテーマを脆弱性データベースと毎日突き合わせ、該当があれば通知します。登録したサイトが対象かどうかを確かめられます。