Loading...
Skip to main content

CVE-2016-10034 — Vulnerability in zendframework/zend-mail — CVE...

CRITICAL

zend-mail remote code execution via Sendmail adapter

Published May 14, 2022Updated April 23, 2024Source: osv

Summary

The setFrom function in the Sendmail adapter in the zend-mail component before 2.4.11, 2.5.x, 2.6.x, and 2.7.x before 2.7.2, and Zend Framework before 2.4.11 might allow remote attackers to pass extra parameters to the mail command and consequently execute arbitrary code via a \" (backslash double quote) in a crafted e-mail address.

Advisory Timeline

  • First published May 14, 2022 (1612 days ago).
  • Last revised April 23, 2024 — 711 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update zendframework/zend-mail to 2.4.11 or later
composer require "zendframework/zend-mail:^2.4.11"
Composer
Update zendframework/zend-mail to 2.7.2 or later
composer require "zendframework/zend-mail:^2.7.2"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (4)

Affects 1 ecosystem: packagist (1).

PackageEcosystemAffectedFixed In
zendframework/zend-mail
packagist
2.6.0, 2.6.1, 2.6.2Range-based data available
zendframework/zend-mail
packagist
2.0.3, 2.0.4, 2.0.5, 2.0.6 (+51 more)2.4.11
zendframework/zend-mail
packagist
2.5.0, 2.5.1, 2.5.2Range-based data available
zendframework/zend-mail
packagist
2.7.0, 2.7.12.7.2

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Frequently Asked Questions

What is CVE-2016-10034?
zend-mail remote code execution via Sendmail adapter This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2016-10034?
CVE-2016-10034 affects zendframework/zend-mail. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2016-10034 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-r9mw-gwx9-v3h5

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies