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

- Priority: **Routine**
- Reason: Not severe (CVSS 3.3, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-01-16 · Modified: 2025-06-02
- Aliases: GHSA-2q6j-gqc4-4gw3
- Record: https://cvemate.com/vulnerability/CVE-2022-31021 · JSON: https://cvemate.com/vulnerability/CVE-2022-31021/json

## Description

```text
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.
```

## Signals

- CVSS: 5.3 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- EPSS: 0.428%, percentile 38.964%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- Crates.Io anoncreds-clsignatures (Crates.Io): All versions (No fix recorded)
- Crates.Io ursa (Crates.Io): ≤ 0.3.7
- hyperledger ursa: ≤ 0.3.7 \| \< 0.3

## References

- <https://github.com/hyperledger/ursa/security/advisories/GHSA-2q6j-gqc4-4gw3>
- <https://www.brics.dk/RS/98/29/BRICS-RS-98-29.pdf>
- <https://github.com/hyperledger-archives/ursa/security/advisories/GHSA-2q6j-gqc4-4gw3>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31021>
- <https://github.com/hyperledger-archives/ursa>

---

Data as of 2026-12-05T09:57:06.658Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
