CVE-2023-39533: libp2p go-libp2p
Vulnerability summary
CVE-2023-39533 is a high (CVSS 7.5) vulnerability in libp2p go-libp2p. EPSS estimates a 1.50% chance of exploitation in the next 30 days, higher than 73.9% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 08-08-2023PublishedVulnerability first disclosed.
- 01-09-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · GoEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.50%
Chance of exploitation in the next 30 days
Percentile
74%
Versus all other CVEs
30-day change
0.00 pp
From 1.50% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundGo Libp2P
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Github.com/libp2p1 product
- go-libp2p< 0.27.8 | ≥ 0.28.0, < 0.28.2 | ≥ 0.29.0, < 0.29.1
Libp2p1 product
- go-libp2p= 0.29.0 | < 0.27.8 | ≥ 0.28.0, < 0.28.2 | 0.29.0
2 vendors · 2 products
References
12 links- github.com/libp2p/go-libp2p/security/advisories/GHSA-876p-8259-xjggX Refsource CONFIRMWEBAdvisoryPatchVendor Advisory
- github.com/golang/go/commit/2350afd2e8ab054390e284c95d5b089c142db017X Refsource MISCWEBNot ApplicablePatch
- github.com/libp2p/go-libp2p/commit/0cce607219f3710addc7e18672cffd1f1d912fbbX Refsource MISCWEBFIXPatch
Show all 12 references
- github.com/libp2p/go-libp2pPACKAGE