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

Not scored Published

Attackers can manipulate email headers in Monolog's NativeMailerHandler, potentially altering email content or metadata when logs are emailed.

Exploited in the wild
Not known
Login needed
Not stated
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is GHSA-f57v-q966-7fh6?

GHSA-f57v-q966-7fh6 is a vulnerability in monolog/monolog, published on 15 May 2024. It can be exploited over the network, with no action from the victim.

Official description

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.

Which versions are affected by GHSA-f57v-q966-7fh6?

2 open source packages ship an affected version, including monolog/monolog.

PackageAffectedFixed in
monolog/monolog PackagistFrom 1.8.01.12.0
monolog/monolog PackagistFrom 1.8.01.12.0

How do I fix GHSA-f57v-q966-7fh6?

Upgrade monolog/monolog to 1.12.0 or later.

Is GHSA-f57v-q966-7fh6 being exploited?

There is no known exploitation of GHSA-f57v-q966-7fh6 in the wild and no public exploit code.

Sources

Is GHSA-f57v-q966-7fh6 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free