CVE-2023-39533

Summary

CVECVE-2023-39533
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-08-08 19:15:00 UTC
Updated2023-10-31 19:08:00 UTC
Descriptiongo-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.

Risk And Classification

Problem Types: CWE-770

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Golang Go All All All All
Application Libp2p Go-libp2p All All All All
Application Libp2p Go-libp2p 0.29.0 All All All
Application Quic Project Quic All All All All

References

ReferenceSourceLinkTags
core/crypto: restrict RSA keys to <= 8192 bits (#2454) · libp2p/go-libp2p@0cce607 · GitHub MISC github.com
core/crypto: restrict RSA keys to <= 8192 bits by MarcoPolo · Pull Request #2454 · libp2p/go-libp2p · GitHub MISC github.com
update qtls to restrict RSA keys in certificates to <= 8192 bits by marten-seemann · Pull Request #4012 · quic-go/quic-go · GitHub MISC github.com
crypto/tls: verifying certificate chains containing large RSA keys is slow [CVE-2023-29409] · Issue #61460 · golang/go · GitHub MISC github.com
libp2p nodes vulnerable to attack using large RSA keys · Advisory · libp2p/go-libp2p · GitHub MISC github.com
core/crypto: restrict RSA keys to <= 8192 bits (#2454) · libp2p/go-libp2p@445be52 · GitHub MISC github.com
crypto/tls: restrict RSA keys in certificates to <= 8192 bits · golang/go@2350afd · GitHub MISC github.com
core/crypto: restrict RSA keys to <= 8192 bits (#2454) · libp2p/go-libp2p@e30fcf7 · GitHub MISC github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 907821 Common Base Linux Mariner (CBL-Mariner) Security Update for golang (27872-2)
  • 994783 GO (Go) Security Update for github.com/libp2p/go-libp2p (GHSA-876p-8259-xjgg)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report