CVE-2023-39533
Summary
| CVE | CVE-2023-39533 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-08-08 19:15:00 UTC |
| Updated | 2023-10-31 19:08:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-770
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| 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 |
No vendor comments have been submitted for this CVE.