GHSA-v5c9-mmw9-829q

Suggest an improvement
Source
https://github.com/advisories/GHSA-v5c9-mmw9-829q
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-v5c9-mmw9-829q/GHSA-v5c9-mmw9-829q.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-v5c9-mmw9-829q
Aliases
Published
2022-05-14T02:39:43Z
Modified
2024-12-05T05:45:37.519600Z
Summary
PHPMailer susceptible to arbitrary code execution
Details

html2text.php in Chuggnutt HTML to Text Converter, as used in PHPMailer before 5.2.10, RoundCube Webmail (roundcubemail) 0.2-1.alpha and 0.2-3.beta, Mahara, and AtMail Open 1.03, allows remote attackers to execute arbitrary code via crafted input that is processed by the preg_replace function with the eval switch.

Database specific
{
    "nvd_published_at": "2008-12-17T02:30:00Z",
    "cwe_ids": [
        "CWE-94"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2022-06-17T21:23:30Z"
}
References

Affected packages

Packagist / phpmailer/phpmailer

Package

Name
phpmailer/phpmailer
Purl
pkg:composer/phpmailer/phpmailer

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.2.10

Affected versions

v5.*

v5.2.2
v5.2.4
v5.2.5
v5.2.6
v5.2.7
v5.2.8
v5.2.9