{"id":"GHSA-gff2-p6vm-3p8g","summary":"ZendFramework potential remote code execution in zend-mail via Sendmail adapter","details":"When using the zend-mail component to send email via the `Zend\\Mail\\Transport\\Sendmail transport`, a malicious user may be able to inject arbitrary parameters to the system sendmail program. The attack is performed by providing additional quote characters within an address; when unsanitized, they can be interpreted as additional command line arguments, leading to the vulnerability.\n\n","modified":"2024-12-04T05:39:06.674820Z","published":"2024-06-07T20:47:30Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2024-06-07T20:47:30Z","nvd_published_at":null,"cwe_ids":["CWE-74"],"severity":"MODERATE"},"references":[{"type":"WEB","url":"https://github.com/zendframework/zendframework/commit/7c1e89815f5a9c016f4b8088e59b07cb2bf99dc0"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework/ZF2016-04.yaml"},{"type":"PACKAGE","url":"https://github.com/zendframework/zendframework"},{"type":"WEB","url":"https://web.archive.org/web/20201107093523/https://framework.zend.com/security/advisory/ZF2016-04"}],"affected":[{"package":{"name":"zendframework/zendframework","ecosystem":"Packagist","purl":"pkg:composer/zendframework/zendframework"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.4.11"}]}],"versions":["2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6","2.2.0","2.2.0rc1","2.2.0rc2","2.2.0rc3","2.2.1","2.2.10","2.2.2","2.2.3","2.2.4","2.2.5","2.2.6","2.2.7","2.2.8","2.2.9","2.3.0","2.3.1","2.3.2","2.3.3","2.3.4","2.3.5","2.3.6","2.3.7","2.3.8","2.3.9","2.4.0","2.4.0rc1","2.4.0rc2","2.4.0rc3","2.4.0rc4","2.4.0rc5","2.4.0rc6","2.4.0rc7","2.4.1","2.4.10","2.4.2","2.4.3","2.4.4","2.4.5","2.4.6","2.4.7","2.4.8","2.4.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/06/GHSA-gff2-p6vm-3p8g/GHSA-gff2-p6vm-3p8g.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"}]}