Skip to content

Hyperledger indy-node vulnerable to denial of service

High severity GitHub Reviewed Published Sep 9, 2022 in hyperledger/indy-node • Updated Feb 1, 2023

Package

pip indy-node (pip)

Affected versions

>= 0, <= 1.12.6

Patched versions

None

Description

Impact

An attacker can max out the number of client connections allowed by the ledger that was deployed using guidance provided in the indy-node repository, leaving the ledger unable to be used for its intended purpose.

The ledger content will not be impacted by the attack, and the ledger will resume servicing valid client requests after the attack.

Mitigations

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 previously provided enabled a low-cost DDoS attack.

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.

Acknowledgements

Thank you to Mirko Mollik at TrustCerts.de for finding and responsibly disclosing this issue.

References

@WadeBarnes WadeBarnes published to hyperledger/indy-node Sep 9, 2022
Published by the National Vulnerability Database Sep 9, 2022
Published to the GitHub Advisory Database Sep 16, 2022
Reviewed Sep 16, 2022
Last updated Feb 1, 2023

Severity

High

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS score

0.091%
(40th percentile)

Weaknesses

CVE ID

CVE-2022-31006

GHSA ID

GHSA-x996-7qh9-7ff7

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.