GHSA-g2qj-pmxm-9f8f: Symfony/security http User Enumeration Vulnerability
LOWGHSA-g2qj-pmxm-9f8f is a LOW user enumeration vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Symfony/security http libraries in the Packagist ecosystem. The issue involves user enumeration in authentication mechanisms. Remediation is available by upgrading affected packages to version 5.2.8.
GHSA-g2qj-pmxm-9f8f at a Glance
How to Fix GHSA-g2qj-pmxm-9f8f
To remediate this vulnerability, upgrade all affected Symfony/security http 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 symfony/security-http to 5.2.8
Upgrade symfony/symfony to 5.2.8
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for symfony/security-http
How to Check if You Are Affected
To determine whether your application is affected by GHSA-g2qj-pmxm-9f8f, inspect your project dependencies for Symfony/security http:
inspect dependencies for symfony/security-http
Analyze the terminal output to locate any version of Symfony/security http in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.2.8), 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-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Symfony/security http, 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-g2qj-pmxm-9f8f Affected Symfony/security http Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
symfony/security-http
|
Packagist |
≥ 5.1.0
< 5.2.8
|
5.2.8
|
|
symfony/symfony
|
Packagist |
≥ 5.1.0
< 5.2.8
|
5.2.8
|
References
Frequently Asked Questions
What is GHSA-g2qj-pmxm-9f8f?
Which Symfony/security http versions are affected?
What version fixes GHSA-g2qj-pmxm-9f8f?
Is symfony/security-http affected?
Is symfony/symfony affected?
What CWE is associated with GHSA-g2qj-pmxm-9f8f?
How can I check Packagist dependencies for GHSA-g2qj-pmxm-9f8f?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-g2qj-pmxm-9f8f",
"modified" : "2021-10-08T21:21:12Z",
"published" : "2021-05-17T20:52:32Z",
"aliases" : [ ],
"summary" : "User enumeration in authentication mechanisms",
"details" : "Description\n-----------\n\nThe ability to enumerate users was possible without relevant permissions due to different exception messages depending on whether the user existed or not. It was also possible to enumerate users by using a timing attack, by comparing time elapsed when authenticating an existing user and authenticating a non-existing user.\n\nResolution\n----------\n\nWe now ensure that 403s are returned whether the user exists or not if the password is invalid or if the user does not exist.\n\nThe patch for this issue is available [here](https://github.com/symfony/symfony/commit/2a581d22cc621b33d5464ed65c4bc2057f72f011) for branch 3.4.\n\nCredits\n-------\n\nI would like to thank James Isaac and Mathias Brodala for reporting the issue and Robin Chalas for fixing the issue.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/security-http"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.1.0"
}, {
"fixed" : "5.2.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/symfony"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.1.0"
}, {
"fixed" : "5.2.8"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/symfony/symfony/security/advisories/GHSA-g2qj-pmxm-9f8f"
}, {
"type" : "WEB",
"url" : "https://github.com/symfony/symfony/commit/2a581d22cc621b33d5464ed65c4bc2057f72f011"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/symfony/symfony"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2021-05-17T19:21:54Z",
"nvd_published_at" : null
}
}