GHSA-6jvx-8ch9-j2jr 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-6jvx-8ch9-j2jr?

GHSA-6jvx-8ch9-j2jr is an unsafe deserialization vulnerability in laravel/framework, 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-6jvx-8ch9-j2jr?

2 open source packages ship an affected version, including laravel/framework.

PackageAffectedFixed in
laravel/framework PackagistFrom 5.5.05.6.30
laravel/framework PackagistFrom 5.5.05.6.30

How do I fix GHSA-6jvx-8ch9-j2jr?

Upgrade laravel/framework 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-6jvx-8ch9-j2jr being exploited?

There is no known exploitation of GHSA-6jvx-8ch9-j2jr in the wild and no public exploit code.

Sources

Is GHSA-6jvx-8ch9-j2jr in your software?

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

Check your SBOMs for free