GHSA-6jvx-8ch9-j2jr: Laravel/framework Laravel Cookie Serialization Vulnerability Vulnerability
HIGHGHSA-6jvx-8ch9-j2jr is a HIGH laravel cookie serialization vulnerability vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Laravel/framework libraries in the Packagist ecosystem. The issue involves laravel cookie serialization vulnerability. Remediation is available by upgrading affected packages to version 5.6.30.
GHSA-6jvx-8ch9-j2jr at a Glance
How to Fix GHSA-6jvx-8ch9-j2jr
To remediate this vulnerability, upgrade all affected Laravel/framework dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade laravel/framework to 5.6.30
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for laravel/framework
How to Check if You Are Affected
To determine whether your application is affected by GHSA-6jvx-8ch9-j2jr, inspect your project dependencies for Laravel/framework:
inspect dependencies for laravel/framework
Analyze the terminal output to locate any version of Laravel/framework in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.6.30), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Laravel/framework, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-6jvx-8ch9-j2jr Affected Laravel/framework Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
laravel/framework
|
Packagist |
≥ 5.5.0
< 5.6.30
|
5.6.30
|
References
Frequently Asked Questions
What is GHSA-6jvx-8ch9-j2jr?
Which Laravel/framework versions are affected?
What version fixes GHSA-6jvx-8ch9-j2jr?
Is laravel/framework affected?
What CWE is associated with GHSA-6jvx-8ch9-j2jr?
How can I check Packagist dependencies for GHSA-6jvx-8ch9-j2jr?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6jvx-8ch9-j2jr",
"modified" : "2024-05-15T22:15:07Z",
"published" : "2024-05-15T22:15:07Z",
"aliases" : [ ],
"summary" : "Laravel Cookie serialization vulnerability",
"details" : "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](https://laravel.com/docs/5.6/upgrade#upgrade-5.6.30) for more details and read the notes carefully when upgrading your application.\n\n",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "laravel/framework"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.5.0"
}, {
"fixed" : "5.6.30"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/laravel/framework/2018-08-08-1.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/laravel/framework"
}, {
"type" : "WEB",
"url" : "https://laravel.com/docs/5.6/upgrade#upgrade-5.6.30"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-15T22:15:07Z",
"nvd_published_at" : null
}
}