CVE-2022-31020

Remote code execution in Indy's NODE_UPGRADE transaction

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.

Category

8.8
CVSS
Severity: High
CVSS 3.1 •
EPSS 1.03% Top 25%
Third-Party Advisory github.com Third-Party Advisory github.com Third-Party Advisory github.com
Affected: hyperledger indy-node
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2022-31020?
CVE-2022-31020 has been scored as a high severity vulnerability.
How to fix CVE-2022-31020?
To fix CVE-2022-31020, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2022-31020 being actively exploited in the wild?
It is possible that CVE-2022-31020 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~1% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-31020?
CVE-2022-31020 affects hyperledger indy-node.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.