{"answers":{"affected":"4 open source packages ship an affected version, including ursa and anoncreds-clsignatures. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-21670 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-21670 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-21670 is a medium-severity vulnerability in hyperledger-archives ursa, published on 16 Jan 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-21670 and fix it if it is affected.\n\nWhat it is: CVE-2024-21670 is a medium-severity vulnerability in hyperledger-archives ursa, published on 16 Jan 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-21670 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- ursa (crates.io): affected all versions up to 0.3.7; no fix listed\n- ursa (crates.io): affected all versions up to 0.3.7; no fix listed\n- anoncreds-clsignatures (crates.io): affected all versions; no fix listed\n- anoncreds-clsignatures (crates.io): affected all versions; no fix listed\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-21670/ (Markdown: https://insights.sbomify.com/CVE-2024-21670/index.md)","id":"CVE-2024-21670","markdown":"https://insights.sbomify.com/CVE-2024-21670/index.md","name":"CVE-2024-21670","record":{"aliases":["GHSA-r78f-4q2q-hvv4"],"analysis":{"component_type":"library","fix_type":"end_of_life","impacts":["security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Blockchain cryptographic library","requires_auth":"high_privilege","summary":"A flaw in Ursa's revocation scheme allows malicious holders to prove non-revocation of revoked credentials, bypassing verification checks.","user_interaction":"required","vuln_class":"business_logic"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"ursa","vendor":"hyperledger"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-327","name":"Use of a Broken or Risky Cryptographic Algorithm"}],"description":"Ursa is a cryptographic library for use with blockchains. The revocation schema that is part of the Ursa CL-Signatures implementations has a flaw that could impact the privacy guarantees defined by the AnonCreds verifiable credential model, allowing a malicious holder of a revoked credential to generate a valid Non-Revocation Proof for that credential as part of an AnonCreds presentation. A verifier may verify a credential from a holder as being \"not revoked\" when in fact, the holder's credential has been revoked. Ursa has moved to end-of-life status and no fix is expected.","ecosystems":["crates.io"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"CL-Signatures Revocation Scheme in Ursa has flaws that allow a holder to demonstrate non-revocation of a revoked credential","id":"CVE-2024-21670","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"business_logic","year":"2024"},"n_packages":4,"n_references":1,"next":{"headline":"vantage6 username timing attack","id":"CVE-2024-21671"},"packages":[{"ecosystem":"crates.io","fixed":[],"introduced":["0"],"last_affected":[],"package":"anoncreds-clsignatures","purl":null,"source":"GHSA-r78f-4q2q-hvv4"},{"ecosystem":"crates.io","fixed":[],"introduced":["0"],"last_affected":[],"package":"anoncreds-clsignatures","purl":"pkg:cargo/anoncreds-clsignatures","source":"GHSA-r78f-4q2q-hvv4"},{"ecosystem":"crates.io","fixed":[],"introduced":["0"],"last_affected":["0.3.7"],"package":"ursa","purl":null,"source":"GHSA-r78f-4q2q-hvv4"},{"ecosystem":"crates.io","fixed":[],"introduced":["0"],"last_affected":["0.3.7"],"package":"ursa","purl":"pkg:cargo/ursa","source":"GHSA-r78f-4q2q-hvv4"}],"prev":{"headline":"Hyperledger Aries Cloud Agent Python result of presentation verification not checked for LDP-VC","id":"CVE-2024-21669"},"products":["ursa"],"published":"2024-01-16","related":[{"cvss_score":6.5,"headline":"Ursa CL-Signatures Revocation allows verifiers to generate unique identifiers for holders","id":"CVE-2024-22192","kev_date_added":null,"published":"2024-01-16"},{"cvss_score":3.3,"headline":"Unlinkability broken in ursa when verifiers use malicious keys","id":"CVE-2022-31021","kev_date_added":null,"published":"2024-01-16"}],"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":"total"},"state":"PUBLISHED","updated":"2024-08-01","vendors":["hyperledger-archives"]},"summary":"A flaw in Ursa's revocation scheme allows malicious holders to prove non-revocation of revoked credentials, bypassing verification checks.","url":"https://insights.sbomify.com/CVE-2024-21670/"}