Skip to content
OpenAdvisories
Medium · 6.5 GHSA-gff2-p6vm-3p8g

ZendFramework potential remote code execution in zend-mail via Sendmail adapter

Published Jun 7, 2024 · Updated Dec 4, 2024 · Assigned by GHSA

Description

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.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist zendframework/zendframework >= 2.0.0, < 2.4.11 2.4.11 GHSA-gff2-p6vm-3p8g

References