Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. monolog/monolog
  4. ›
  5. GHSA-f57v-q966-7fh6

GHSA-f57v-q966-7fh6: Monolog Header injection in NativeMailerHandler

May 15, 2024

A header injection vulnerability has been identified in the NativeMailerHandler of the Monolog library. This vulnerability may allow an attacker to manipulate email headers when log messages are sent via email.

References

  • github.com/FriendsOfPHP/security-advisories/blob/master/monolog/monolog/2014-12-29-1.yaml
  • github.com/Seldaek/monolog
  • github.com/Seldaek/monolog/commit/515a096c864b00b3967f7f601680f85d4a2e4001
  • github.com/Seldaek/monolog/issues/458
  • github.com/Seldaek/monolog/pull/448
  • github.com/advisories/GHSA-f57v-q966-7fh6

Code Behaviors & Features

Detect and mitigate GHSA-f57v-q966-7fh6 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 starting from 1.8.0 before 1.12.0

Fixed versions

  • 1.12.0

Solution

Upgrade to version 1.12.0 or above.

Weakness

  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Source file

packagist/monolog/monolog/GHSA-f57v-q966-7fh6.yml

Spotted a mistake? Edit the file on GitLab.

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

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