# CVE-2022-31021: Unlinkability broken in ursa when verifiers use malicious keys

- Severity: Low 3.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-01-16T21:13:36.000Z
- Modified: 2026-06-17T04:44:37.357Z
- Also known as: GHSA-2q6j-gqc4-4gw3
- Weaknesses: CWE-829
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Ursa is a cryptographic library for use with blockchains. A weakness in the Hyperledger AnonCreds specification that is not mitigated in the Ursa and AnonCreds implementations is that the Issuer does not publish a key correctness proof demonstrating that a generated private key is sufficient to meet the unlinkability guarantees of AnonCreds. The Ursa and AnonCreds CL-Signatures implementations always generate a sufficient private key. A malicious issuer could in theory create a custom CL Signature implementation (derived from the Ursa or AnonCreds CL-Signatures implementations) that uses weakened private keys such that presentations from holders could be shared by verifiers to the issuer who could determine the holder to which the credential was issued. This vulnerability could impact holders of AnonCreds credentials implemented using the CL-signature scheme in the Ursa and AnonCreds implementations of CL Signatures. The ursa project has has moved to end-of-life status and no fix is expected.

(As written by CVE List.)

## Affected

- hyperledger ursa: <= 0.3.7; before 0.3
- anoncreds-clsignatures (crates.io): all versions
- ursa (crates.io): up to 0.3.7

## Every score

- GitHub_M: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://www.brics.dk/RS/98/29/BRICS-RS-98-29.pdf> (exploit, third-party-advisory, web)
- <https://github.com/hyperledger/ursa/security/advisories/GHSA-2q6j-gqc4-4gw3> (vendor-advisory, web)
- <https://github.com/hyperledger-archives/ursa/security/advisories/GHSA-2q6j-gqc4-4gw3> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31021> (advisory)
- <https://github.com/hyperledger-archives/ursa> (package)

## Sources

- CVE List: [CVE-2022-31021](https://www.cve.org/CVERecord?id=CVE-2022-31021), CVE Terms of Use, modified 2025-06-02
- GitHub Advisory Database: [GHSA-2q6j-gqc4-4gw3](https://github.com/advisories/GHSA-2q6j-gqc4-4gw3), CC-BY-4.0, modified 2024-01-19
- NVD: [CVE-2022-31021](https://nvd.nist.gov/vuln/detail/CVE-2022-31021), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-31021 · Whole record: https://cve.day/CVE-2022-31021.json · Rebuilt by cve.day 2026-11-25T22:58:19.726Z
