GHSA-2frx-j9hj-6c65: Lexik/jwt authentication bundle User Enumeration Vulnerability
LOWGHSA-2frx-j9hj-6c65 is a LOW user enumeration vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Lexik/jwt authentication bundle libraries in the Packagist ecosystem. The issue involves user enumeration in authentication mechanisms. Remediation is available by upgrading affected packages to version 2.10.7, 2.11.3.
GHSA-2frx-j9hj-6c65 at a Glance
How to Fix GHSA-2frx-j9hj-6c65
To remediate this vulnerability, upgrade all affected Lexik/jwt authentication bundle 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 lexik/jwt-authentication-bundle to 2.10.7
Upgrade lexik/jwt-authentication-bundle to 2.11.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for lexik/jwt-authentication-bundle
How to Check if You Are Affected
To determine whether your application is affected by GHSA-2frx-j9hj-6c65, inspect your project dependencies for Lexik/jwt authentication bundle:
inspect dependencies for lexik/jwt-authentication-bundle
Analyze the terminal output to locate any version of Lexik/jwt authentication bundle in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.10.7), 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 Lexik/jwt authentication bundle, 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-2frx-j9hj-6c65 Affected Lexik/jwt authentication bundle Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
lexik/jwt-authentication-bundle
|
Packagist |
< 2.10.7
|
2.10.7
|
|
lexik/jwt-authentication-bundle
|
Packagist |
≥ 2.11.0
< 2.11.3
|
2.11.3
|
References
Frequently Asked Questions
What is GHSA-2frx-j9hj-6c65?
Which Lexik/jwt authentication bundle versions are affected?
What version fixes GHSA-2frx-j9hj-6c65?
Is lexik/jwt-authentication-bundle affected?
What CWE is associated with GHSA-2frx-j9hj-6c65?
How can I check Packagist dependencies for GHSA-2frx-j9hj-6c65?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2frx-j9hj-6c65",
"modified" : "2021-10-08T21:21:39Z",
"published" : "2021-05-17T20:52:21Z",
"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. \n\nResolution\n----------\n\nWe now ensure that a generic message is 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/lexik/LexikJWTAuthenticationBundle/commit/a175d6dab968d93e96a3e4f80c495435f71d5eb7) for branch 2.10.x and 2.x.\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" : "lexik/jwt-authentication-bundle"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.10.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "lexik/jwt-authentication-bundle"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.11.0"
}, {
"fixed" : "2.11.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/lexik/LexikJWTAuthenticationBundle/security/advisories/GHSA-2frx-j9hj-6c65"
}, {
"type" : "WEB",
"url" : "https://github.com/lexik/LexikJWTAuthenticationBundle/commit/a175d6dab968d93e96a3e4f80c495435f71d5eb7"
}, {
"type" : "WEB",
"url" : "https://github.com/lexik/LexikJWTAuthenticationBundle"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2021-05-17T19:20:17Z",
"nvd_published_at" : null
}
}