Laravel Framework Deserialization Vulnerability
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.
As published by the sources
Affected packages
- Affected
>=5.7.0,<6.20.44Fixed in6.20.44
Derived from the fixed versions above
What to do
Upgrade laravel/framework to 6.20.44 or later.
composer update laravel/framework --with-dependencies
To see which version you have installed, run composer show vendor/package. Running composer audit lists the known advisories that match your installed versions.
Quoted from the original advisory
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.
References
- Advisoryhttps://github.com/advisories/GHSA-pfg4-p438-p874
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2019-9081
- Webhttps://github.com/Laworigin/Laworigin.github.io/blob/master/2019/02/21/laravelv5-7%E5%8F%8D%E5%BA%8F%E5%88%97%E5%8C%96rce/index.html
- Packagehttps://github.com/laravel/framework
- Webhttps://github.com/laravel/framework/discussions/40184
- Webhttps://laworigin.github.io/2019/02/21/laravelv5-7%E5%8F%8D%E5%BA%8F%E5%88%97%E5%8C%96rce