CriticalGHSA-pfg4-p438-p874CVE-2019-9081

Laravel Framework Deserialization Vulnerability

Published 14 May 2022 · Updated 16 Feb 2024

Affected package

Affected
>=5.7.0 <6.20.44
Fixed in
6.20.44
Update to the fixed version for your release line, for example:composer require laravel/framework:^6.20.44

Details

The Illuminate component of Laravel Framework 5.7.x has a deserialization vulnerability that can lead to remote code execution if the content is controllable, related to the __destruct method of the PendingCommand class in PendingCommand.php.

Is GHSA-pfg4-p438-p874 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 laravel/framework, and gives you the command that fixes it.

References

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