{"answers":{"affected":"4 open source packages ship an affected version, including lexik/jwt-authentication-bundle.","exploited":"There is no known exploitation of GHSA-2frx-j9hj-6c65 in the wild and no public exploit code.","fix":"Upgrade lexik/jwt-authentication-bundle to a fixed version for your release line: 2.10.7 or 2.11.3.","what":"GHSA-2frx-j9hj-6c65 is a vulnerability in lexik/jwt-authentication-bundle, published on 17 May 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-2frx-j9hj-6c65 and fix it if it is affected.\n\nWhat it is: GHSA-2frx-j9hj-6c65 is a vulnerability in lexik/jwt-authentication-bundle, published on 17 May 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-2frx-j9hj-6c65 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- lexik/jwt-authentication-bundle (Packagist): affected all versions; fixed in 2.10.7\n- lexik/jwt-authentication-bundle (Packagist): affected all versions; fixed in 2.10.7\n- lexik/jwt-authentication-bundle (Packagist): affected from 2.11.0; fixed in 2.11.3\n- lexik/jwt-authentication-bundle (Packagist): affected from 2.11.0; fixed in 2.11.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-2frx-j9hj-6c65/ (Markdown: https://insights.sbomify.com/GHSA-2frx-j9hj-6c65/index.md)","id":"GHSA-2frx-j9hj-6c65","markdown":"https://insights.sbomify.com/GHSA-2frx-j9hj-6c65/index.md","name":"GHSA-2frx-j9hj-6c65","record":{"aliases":[],"analysis":{"component_type":"library","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"JWT Authentication Bundle","requires_auth":"none","summary":"Attackers can enumerate valid usernames via distinct error messages, enabling targeted attacks against the LexikJWTAuthenticationBundle.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"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.","ecosystems":["Packagist"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"User enumeration in authentication mechanisms","id":"GHSA-2frx-j9hj-6c65","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"information_disclosure","year":"2021"},"n_packages":4,"n_references":null,"packages":[{"ecosystem":"Packagist","fixed":["2.10.7"],"introduced":["0"],"last_affected":[],"package":"lexik/jwt-authentication-bundle","purl":null,"source":"GHSA-2frx-j9hj-6c65"},{"ecosystem":"Packagist","fixed":["2.10.7"],"introduced":["0"],"last_affected":[],"package":"lexik/jwt-authentication-bundle","purl":"pkg:composer/lexik/jwt-authentication-bundle","source":"GHSA-2frx-j9hj-6c65"},{"ecosystem":"Packagist","fixed":["2.11.3"],"introduced":["2.11.0"],"last_affected":[],"package":"lexik/jwt-authentication-bundle","purl":null,"source":"GHSA-2frx-j9hj-6c65"},{"ecosystem":"Packagist","fixed":["2.11.3"],"introduced":["2.11.0"],"last_affected":[],"package":"lexik/jwt-authentication-bundle","purl":"pkg:composer/lexik/jwt-authentication-bundle","source":"GHSA-2frx-j9hj-6c65"}],"products":null,"published":"2021-05-17","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Attackers can enumerate valid usernames via distinct error messages, enabling targeted attacks against the LexikJWTAuthenticationBundle.","url":"https://insights.sbomify.com/GHSA-2frx-j9hj-6c65/"}