Advisory

GHSA-gff2-p6vm-3p8g

Also known as: None

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-06-07 20:47 UTC
Modified
2024-12-04 05:39 UTC

Affected packages and fixes

zendframework/zendframework

Packagist · All systems

Affected

  • introduced 2.0.0, fixed 2.4.11 (ecosystem)

Fixed versions

2.4.11

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences