CVE-2022-31021 Unlinkability broken in ursa when verifiers use malicious keys
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io anoncreds-clsignatures(crates.io) | < 0.3; All versions | 0.3 | Partially fixed |
| crates.io ursa(crates.io) | <= 0.3.7 | after 0.3.7 | Fixed |
| hyperledger ursa | < 0.3; = <= 0.3.7 | 0.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io anoncreds-clsignatures(crates.io) | All versions | No fix listed |
| crates.io ursa(crates.io) | <= 0.3.7 | No fix listed |
| crates.io anoncreds-clsignatures(crates.io) | < 0.3 | 0.3 |
| hyperledger ursa | = <= 0.3.7 | No fix listed |
| hyperledger ursa | < 0.3 | 0.3 |
References
- github.com vendor-advisory
- https://github.com/hyperledger/ursa/security/advisories/GHSA-2q6j-gqc4-4gw3 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- https://www.brics.dk/RS/98/29/BRICS-RS-98-29.pdf exploit third-party-advisory
- github.com