GHSA-6wqp-7g94-f69j: Sensiolabs/connect Sensiolabs/connect Has A Cross-Site Request Vulnerability
MODERATEGHSA-6wqp-7g94-f69j is a MODERATE (CVSS 6.1) sensiolabs/connect has a cross-site request vulnerability (CWE-352: Cross-Site Request Forgery (CSRF)) affecting Sensiolabs/connect libraries in the Packagist ecosystem. The issue involves sensiolabs/connect has a cross-site request forgery vulnerability. Remediation is available by upgrading affected packages to version 4.2.3.
GHSA-6wqp-7g94-f69j at a Glance
Security Impact
CVSS: 6.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N).
How to Fix GHSA-6wqp-7g94-f69j
To remediate this vulnerability, upgrade all affected Sensiolabs/connect 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 sensiolabs/connect to 4.2.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for sensiolabs/connect
How to Check if You Are Affected
To determine whether your application is affected by GHSA-6wqp-7g94-f69j, inspect your project dependencies for Sensiolabs/connect:
inspect dependencies for sensiolabs/connect
Analyze the terminal output to locate any version of Sensiolabs/connect in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.2.3), 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-352: Cross-Site Request Forgery (CSRF), where the web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor. In Sensiolabs/connect, 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-6wqp-7g94-f69j Affected Sensiolabs/connect Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
sensiolabs/connect
|
Packagist |
< 4.2.3
|
4.2.3
|
References
Frequently Asked Questions
What is GHSA-6wqp-7g94-f69j?
Which Sensiolabs/connect versions are affected?
What version fixes GHSA-6wqp-7g94-f69j?
Is sensiolabs/connect affected?
What is the CVSS score of GHSA-6wqp-7g94-f69j?
What CWE is associated with GHSA-6wqp-7g94-f69j?
How can I check Packagist dependencies for GHSA-6wqp-7g94-f69j?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6wqp-7g94-f69j",
"modified" : "2024-05-21T18:26:46Z",
"published" : "2024-05-21T18:26:46Z",
"aliases" : [ ],
"summary" : "sensiolabs/connect has a Cross-Site Request Forgery Vulnerability",
"details" : "Versions of sensiolabs/connect prior to 4.2.3 are affected by a Cross-Site Request Forgery (CSRF) vulnerability due to the absence of the state parameter in OAuth requests. The lack of proper state parameter handling exposes applications to CSRF attacks during the OAuth authentication flow.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "sensiolabs/connect"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.2.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/sensiolabs/connect/pull/63"
}, {
"type" : "WEB",
"url" : "https://github.com/symfonycorp/connect/commit/9522aa774e8a0f8a61e709d828e6cc34c4c1e703"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/sensiolabs/connect/2018-06-08-1.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/symfonycorp/connect"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-352" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-21T18:26:46Z",
"nvd_published_at" : null
}
}