{"answers":{"affected":"2 open source packages ship an affected version, including org.biscuitsec:biscuit. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-41948 in the wild and no public exploit code.","fix":"Upgrade org.biscuitsec:biscuit to 4.0.0 or later.","what":"CVE-2024-41948 is a low-severity authentication bypass vulnerability in biscuit-auth biscuit-java, published on 1 Aug 2024. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-41948 and fix it if it is affected.\n\nWhat it is: CVE-2024-41948 is a low-severity authentication bypass vulnerability in biscuit-auth biscuit-java, published on 1 Aug 2024. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-41948 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.biscuitsec:biscuit (Maven): affected from 3.0.0; fixed in 4.0.0\n- org.biscuitsec:biscuit (Maven): affected from 3.0.0; fixed in 4.0.0\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/CVE-2024-41948/ (Markdown: https://insights.sbomify.com/CVE-2024-41948/index.md)","id":"CVE-2024-41948","markdown":"https://insights.sbomify.com/CVE-2024-41948/index.md","name":"CVE-2024-41948","record":{"aliases":["GHSA-5hcj-rwm6-xmw4"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Java authentication library","requires_auth":"high_privilege","summary":"A malicious user can trick a third-party authority into trusting the wrong keypair, bypassing authentication checks in the biscuit-java library.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"biscuit-java","vendor":"biscuitsec"}],"cvss":{"score":3,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-1259","name":"Improper Restriction of Security Token Assignment"}],"description":"biscuit-java is the java implementation of Biscuit, an authentication and authorization token for microservices architectures. Third-party blocks can be generated without transferring the whole token to the third-party authority. Instead, a ThirdPartyBlock request can be sent, providing only the necessary info to generate a third-party block and to sign it, which includes the public key of the previous block (used in the signature) and the public keys part of the token symbol table (for public key interning in datalog expressions). A third-part block request forged by a malicious user can trick the third-party authority into generating datalog trusting the wrong keypair. This vulnerability is fixed in 4.0.0.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"biscuit-java vulnerable to public key confusion in third party block","id":"CVE-2024-41948","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"auth_bypass","year":"2024"},"n_packages":2,"n_references":1,"next":{"headline":"biscuit-rust vulnerable to public key confusion in third party block","id":"CVE-2024-41949"},"packages":[{"ecosystem":"Maven","fixed":["4.0.0"],"introduced":["3.0.0"],"last_affected":[],"package":"org.biscuitsec:biscuit","purl":null,"source":"GHSA-5hcj-rwm6-xmw4"},{"ecosystem":"Maven","fixed":["4.0.0"],"introduced":["3.0.0"],"last_affected":[],"package":"org.biscuitsec:biscuit","purl":"pkg:maven/org.biscuitsec/biscuit","source":"GHSA-5hcj-rwm6-xmw4"}],"prev":{"headline":"XWiki Platform XSS through conflict resolution","id":"CVE-2024-41947"},"products":["biscuit-java"],"published":"2024-08-01","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-07","vendors":["biscuit-auth"]},"summary":"A malicious user can trick a third-party authority into trusting the wrong keypair, bypassing authentication checks in the biscuit-java library.","url":"https://insights.sbomify.com/CVE-2024-41948/"}