GHSA-2867-6rrm-38gr Laravel Cookie serialization vulnerability

Not scored Published

An attacker can exploit insecure cookie deserialization in Laravel to execute arbitrary code, requiring an immediate framework upgrade.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is GHSA-2867-6rrm-38gr?

GHSA-2867-6rrm-38gr is an unsafe deserialization vulnerability in illuminate/cookie, published on 15 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Laravel 5.6.30 is a security release of Laravel and is recommended as an immediate upgrade for all users. Laravel 5.6.30 also contains a breaking change to cookie encryption and serialization logic. Refer to laravel advisory for more details and read the notes carefully when upgrading your application.

Which versions are affected by GHSA-2867-6rrm-38gr?

2 open source packages ship an affected version, including illuminate/cookie.

PackageAffectedFixed in
illuminate/cookie PackagistFrom 5.5.05.6.30
illuminate/cookie PackagistFrom 5.5.05.6.30

How do I fix GHSA-2867-6rrm-38gr?

Upgrade illuminate/cookie to 5.6.30 or later.

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

Is GHSA-2867-6rrm-38gr being exploited?

There is no known exploitation of GHSA-2867-6rrm-38gr in the wild and no public exploit code.

Sources

Is GHSA-2867-6rrm-38gr in your software?

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

Check your SBOMs for free