CVE-2022-31006 Hyperledger Indy DOS vulnerability

High 7.5 Published Updated

Attackers can exhaust client connections to Hyperledger Indy nodes, causing denial of service until firewall rules are tuned.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-31006?

CVE-2022-31006 is a high-severity denial of service vulnerability in hyperledger indy-node, published on 9 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

indy-node is the server portion of Hyperledger Indy, a distributed ledger purpose-built for decentralized identity. In vulnerable versions of indy-node, an attacker can max out the number of client connections allowed by the ledger, leaving the ledger unable to be used for its intended purpose. However, the ledger content will not be impacted and the ledger will resume functioning after the attack. This attack exploits the trade-off between resilience and availability. Any protection against abusive client connections will also prevent the network being accessed by certain legitimate users. As a result, validator nodes must tune their firewall rules to ensure the right trade-off for their network's expected users. The guidance to network operators for the use of firewall rules in the deployment of Indy networks has been modified to better protect against denial of service attacks by increasing the cost and complexity in mounting such attacks. The mitigation for this vulnerability is not in the Hyperledger Indy code per se, but rather in the individual deployments of Indy. The mitigations should be applied to all deployments of Indy, and are not related to a particular release.

Weakness: CWE-400

Which versions are affected by CVE-2022-31006?

3 open source packages ship an affected version, including indy-node. It affects 1 product.

PackageAffectedFixed in
indy-node PyPIAll versions to 1.12.6None
indy-node PyPIAll versions to 1.12.6None
indy-node PyPIAll versions1.13.0.dev2

Products include Linuxfoundation Indy-Node.

How do I fix CVE-2022-31006?

Upgrade indy-node to 1.13.0.dev2 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2022-31006 being exploited?

There is no known exploitation of CVE-2022-31006 in the wild and no public exploit code.

Sources

Also known as GHSA-x996-7qh9-7ff7, PYSEC-2022-270.

Is CVE-2022-31006 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free