CVE-2022-31020: hyperledger indy-node Improper Input Validation
Vulnerability summary
CVE-2022-31020 is a high (CVSS 8.8) Improper Input Validation vulnerability in hyperledger indy-node. EPSS estimates a 2.26% chance of exploitation in the next 30 days, higher than 82.6% of scored vulnerabilities.
Timeline
- 06-09-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
Description
Indy Node is the server portion of a distributed ledger purpose-built for decentralized identity. In versions 1.12.4 and prior, the `pool-upgrade` request handler in Indy-Node allows an improperly authenticated attacker to remotely execute code on nodes within the network. The `pool-upgrade` request handler in Indy-Node 1.12.5 has been updated to properly authenticate pool-upgrade transactions before any processing is performed by the request handler. The transactions are further sanitized to prevent remote code execution. As a workaround, endorsers should not create DIDs for untrusted users. A vulnerable ledger should configure `auth_rules` to prevent new DIDs from being written to the ledger until the network can be upgraded.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · PypiEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HDiffers
- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
2.26%
Chance of exploitation in the next 30 days
Percentile
83%
Versus all other CVEs
30-day change
+0.05 pp
From 2.21% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-20Improper Input ValidationThe product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
- CWE-287Improper AuthenticationWhen an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.
Affected systems
Hyperledger1 product
- indy-node≤ 1.12.4
Linuxfoundation1 product
- indy-node≤ 1.12.4
PyPI1 product
- indy-node< fe507474f77084faef4539101e2bbb4d508a97f5 | < 1.12.5rc1
3 vendors · 3 products
References
6 links- github.com/hyperledger/indy-node/security/advisories/GHSA-r6v9-p59m-gj2pX Refsource CONFIRMWEBAdvisoryThird Party Advisory
- github.com/hyperledger/indy-node/commit/fe507474f77084faef4539101e2bbb4d508a97f5X Refsource MISCWEBFIXPatchThird Party Advisory
- github.com/hyperledger/indy-node/releases/tag/v1.12.5X Refsource MISCWEBRelease NotesThird Party Advisory