GHSA-xm3x-4ph3-3x9c: Friendsofsymfony/oauth2 php Friendsofsymfony/oauth2-php Open Redirection Vulnerability
MODERATEGHSA-xm3x-4ph3-3x9c is a MODERATE friendsofsymfony/oauth2-php open redirection vulnerability (General Security Weakness) affecting Friendsofsymfony/oauth2 php libraries in the Packagist ecosystem. The issue involves friendsofsymfony/oauth2-php open redirection in oauth. Remediation is available by upgrading affected packages to version 1.3.0.
GHSA-xm3x-4ph3-3x9c at a Glance
How to Fix GHSA-xm3x-4ph3-3x9c
To remediate this vulnerability, upgrade all affected Friendsofsymfony/oauth2 php 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 friendsofsymfony/oauth2-php to 1.3.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for friendsofsymfony/oauth2-php
How to Check if You Are Affected
To determine whether your application is affected by GHSA-xm3x-4ph3-3x9c, inspect your project dependencies for Friendsofsymfony/oauth2 php:
inspect dependencies for friendsofsymfony/oauth2-php
Analyze the terminal output to locate any version of Friendsofsymfony/oauth2 php in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.3.0), 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 Friendsofsymfony/oauth2 php, 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-xm3x-4ph3-3x9c Affected Friendsofsymfony/oauth2 php Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
friendsofsymfony/oauth2-php
|
Packagist |
< 1.3.0
|
1.3.0
|
References
Frequently Asked Questions
What is GHSA-xm3x-4ph3-3x9c?
Which Friendsofsymfony/oauth2 php versions are affected?
What version fixes GHSA-xm3x-4ph3-3x9c?
Is friendsofsymfony/oauth2-php affected?
What CWE is associated with GHSA-xm3x-4ph3-3x9c?
How can I check Packagist dependencies for GHSA-xm3x-4ph3-3x9c?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xm3x-4ph3-3x9c",
"modified" : "2024-05-15T21:39:29Z",
"published" : "2024-05-15T21:39:29Z",
"aliases" : [ ],
"summary" : "friendsofsymfony/oauth2-php open redirection in oauth",
"details" : "An open redirection vulnerability has been identified in the friendsofsymfony/oauth2-php library, which could potentially expose users to unauthorized redirects during the OAuth authentication process. This vulnerability has been addressed by implementing an exact check for the domain and port, ensuring more secure redirection.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "friendsofsymfony/oauth2-php"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.3.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/FriendsOfSymfony/oauth2-php/commit/606b8ea1c3c927c272ac1409116332ad5a2ed94c"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/friendsofsymfony/oauth2-php/2020-03-03-1.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/FriendsOfSymfony/oauth2-php"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfSymfony/oauth2-php/releases/tag/1.3.0"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-15T21:39:29Z",
"nvd_published_at" : null
}
}