CVE-2022-2886 Laravel deserialization

Medium 5.0 Published Updated

Remote attackers can exploit unsafe deserialization in Laravel to execute arbitrary code, requiring immediate framework upgrades.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-2886?

CVE-2022-2886 is a medium-severity unsafe deserialization vulnerability in unspecified Laravel, published on 19 Aug 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A vulnerability, which was classified as critical, was found in Laravel 5.1. Affected is an unknown function. The manipulation leads to deserialization. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-206688.

Weakness: CWE-502

Which versions are affected by CVE-2022-2886?

1 open source package ship an affected version, including laravel. It affects 1 product.

PackageAffectedFixed in
laravel BitnamiFrom 5.1.05.1.47

Products include Laravel Laravel.

How do I fix CVE-2022-2886?

Upgrade laravel to 5.1.47 or later.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2022-2886 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-2886 exists.

Sources

Also known as BIT-laravel-2022-2886, GHSA-7236-phg4-48mj.

Is CVE-2022-2886 in your software?

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

Check your SBOMs for free