PT-2023-27004 · Go-Libp2P · Go-Libp2P

Marten-Seemann

·

Published

2023-08-08

·

Updated

2023-10-31

·

CVE-2023-39533

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions go-libp2p versions prior to 0.27.8 go-libp2p versions prior to 0.28.2 go-libp2p versions prior to 0.29.1
Description A malicious peer can use large RSA keys to run a resource exhaustion attack and force a node to spend time doing signature verification of the large key. This issue is present in the core/crypto module of go-libp2p and can occur during the Noise handshake and the libp2p x509 extension verification step. To prevent this attack, go-libp2p now restricts RSA keys to <= 8192 bits.
Recommendations For go-libp2p versions prior to 0.27.8, update to version 0.27.8 or later and use the updated Go compiler in 1.20.7 or 1.19.12. For go-libp2p versions prior to 0.28.2, update to version 0.28.2 or later and use the updated Go compiler in 1.20.7 or 1.19.12. For go-libp2p versions prior to 0.29.1, update to version 0.29.1 or later and use the updated Go compiler in 1.20.7 or 1.19.12. As a temporary workaround is not available, updating to the specified patch releases is necessary to protect against this issue.

Exploit

Fix

Allocation of Resources Without Limits

Weakness Enumeration

Related Identifiers

AZL-27872
AZL-27875
AZL-37359
AZL-37422
AZL-52773
AZL-79074
CVE-2023-39533
GHSA-876P-8259-XJGG
GO-2023-2000

Affected Products

Go-Libp2P