GHSA-7fjv-25q9-2w88: Laravel/socialite State Guessing Vulnerability Vulnerability
MODERATEGHSA-7fjv-25q9-2w88 is a MODERATE state guessing vulnerability vulnerability (General Security Weakness) affecting Laravel/socialite libraries in the Packagist ecosystem. The issue involves state guessing vulnerability in laravel/socialite. Remediation is available by upgrading affected packages to version 2.0.10.
GHSA-7fjv-25q9-2w88 at a Glance
How to Fix GHSA-7fjv-25q9-2w88
To remediate this vulnerability, upgrade all affected Laravel/socialite 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/socialite to 2.0.10
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for laravel/socialite
How to Check if You Are Affected
To determine whether your application is affected by GHSA-7fjv-25q9-2w88, inspect your project dependencies for Laravel/socialite:
inspect dependencies for laravel/socialite
Analyze the terminal output to locate any version of Laravel/socialite in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.10), 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 General Security Weakness. In Laravel/socialite, 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-7fjv-25q9-2w88 Affected Laravel/socialite Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
laravel/socialite
|
Packagist |
≥ 1.0.0
< 2.0.10
|
2.0.10
|
References
Frequently Asked Questions
What is GHSA-7fjv-25q9-2w88?
Which Laravel/socialite versions are affected?
What version fixes GHSA-7fjv-25q9-2w88?
Is laravel/socialite affected?
What CWE is associated with GHSA-7fjv-25q9-2w88?
How can I check Packagist dependencies for GHSA-7fjv-25q9-2w88?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7fjv-25q9-2w88",
"modified" : "2024-05-15T22:26:19Z",
"published" : "2024-05-15T22:26:19Z",
"aliases" : [ ],
"summary" : "State Guessing Vulnerability in laravel/socialite",
"details" : "laravel/socialite versions prior to 2.0.10 are susceptible to a security vulnerability related to state guessing during OAuth authentication. This vulnerability could potentially lead to session hijacking, allowing attackers to compromise user sessions. The issue has been addressed and fixed in version 2.0.10.\n\n",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "laravel/socialite"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0"
}, {
"fixed" : "2.0.10"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/laravel/socialite/pull/93"
}, {
"type" : "WEB",
"url" : "https://github.com/laravel/socialite/commit/3d9ed9f4703de82a89541e2458f64de348a60a99"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/laravel/socialite/2015-08-03.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/laravel/socialite"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-15T22:26:19Z",
"nvd_published_at" : null
}
}