SCA: security update for phpmailer/phpmailer (GHSA-77mr-wc79-m8j3)

high Tenable Cloud Security Plugin ID 411907

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2021-3603)

See Also

https://github.com/advisories/GHSA-77mr-wc79-m8j3

Plugin Details

Severity: High

ID: 411907

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.12

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2021-3603

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.1

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/16/2021

Vulnerability Publication Date: 6/16/2021

Reference Information

CVE: CVE-2021-3603