CVE-2022-31020 json
Remote code execution in Indy's NODE_UPGRADE transaction
published 2022-09-02 4 y ago modified 2026-06-17 4 mo ago also GHSA-r6v9-p59m-gj2p , PYSEC-2022-265 , EUVD-2022-0124
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.3%
- EPSS 2.3% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi indy-node 1.12.5rc1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
2.31% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | indy-node | <1.12.5rc1 |
1.12.5rc1 |
Affected products
- hyperledger indy-node
Classification
References
-
github.com
/hyperledger/indy-node/commit/fe507474f77084faef4539101e2bbb4d508a97f5
web, patch, third-party-advisory
-
github.com
/hyperledger/indy-node/security/advisories/GHSA-r6v9-p59m-gj2p
web, third-party-advisory, advisory
-
github.com
/hyperledger/indy-node/releases/tag/v1.12.5
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-31020
advisory
-
github.com
/hyperledger/indy-node
package
-
github.com
/pypa/advisory-database/tree/main/vulns/indy-node/PYSEC-2022-265.yaml
web
Sources
- CVE List CVE-2022-31020
- GitHub Advisory GHSA-r6v9-p59m-gj2p
- NVD CVE-2022-31020
- OSV PYSEC-2022-265
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.