LowGHSA-f57v-q966-7fh6
Monolog Header injection in NativeMailerHandler
Published 15 May 2024 · Updated 29 Nov 2024
Affected package
monolog/monologComposer
- 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.0Details
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
- Linkgithub.com/Seldaek/monolog/issues/458
- Linkgithub.com/Seldaek/monolog/pull/448#issuecomment-68208704
- Linkgithub.com/Seldaek/monolog/commit/515a096c864b00b3967f7f601680f85d4a2e4001
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/monolog/monolog/2014-12-29-1.yaml
- Packagegithub.com/Seldaek/monolog
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.