Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. zetacomponents/mail
  4. ›
  5. CVE-2017-15806

CVE-2017-15806: Arbitrary code execution via a crafted email address

November 15, 2017 (updated December 2, 2017)

The send function in the ezcMailMtaTransport class does not properly restrict the set of characters used in the ezcMail returnPath property, which might allow remote attackers to execute arbitrary code via a crafted email address, as demonstrated by one containing “-X/path/to/wwwroot/file.php.”

References

  • cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-15806
  • github.com/zetacomponents/Mail/issues/58
  • github.com/zetacomponents/Mail/releases/tag/1.8.2

Code Behaviors & Features

Detect and mitigate CVE-2017-15806 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.8.2

Fixed versions

  • 1.8.2

Solution

Upgrade to version 1.8.2 or above.

Impact 8.1 HIGH

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

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

packagist/zetacomponents/mail/CVE-2017-15806.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:39 +0000.