Skip to content

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

MediumCVSS 5.3 EPSS 0.43%
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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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