CVE-2023-39533

Public Exploit
libp2p nodes vulnerable to attack using large RSA keys

Description

go-libp2p is the Go implementation of the libp2p Networking Stack. Prior to versions 0.27.8, 0.28.2, and 0.29.1 malicious peer can use large RSA keys to run a resource exhaustion attack & force a node to spend time doing signature verification of the large key. This vulnerability 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 versions 0.27.8, 0.28.2, and 0.29.1 restrict RSA keys to <= 8192 bits. To protect one's application, it is necessary to update to these patch releases and to use the updated Go compiler in 1.20.7 or 1.19.12. There are no known workarounds for this issue.

Category

7.5
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.11%
Vendor Advisory github.com Vendor Advisory github.com Vendor Advisory github.com
Affected: libp2p go-libp2p
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2023-39533?
CVE-2023-39533 has been scored as a high severity vulnerability.
How to fix CVE-2023-39533?
To fix CVE-2023-39533, 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-2023-39533 being actively exploited in the wild?
It is possible that CVE-2023-39533 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-39533?
CVE-2023-39533 affects libp2p go-libp2p.
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.