LowGHSA-f57v-q966-7fh6

Monolog Header injection in NativeMailerHandler

Published 15 May 2024 · Updated 29 Nov 2024

Affected package

Affected
>=1.8.0 <1.12.0
Fixed in
1.12.0
Update to the fixed version for your release line, for example:composer require monolog/monolog:^1.12.0

Details

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.

Is GHSA-f57v-q966-7fh6 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected monolog/monolog, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.