Security mailing lists by PureSourceCode

CVE-2023-39533

HIGH 7.5CVSS 3.1

libp2p nodes vulnerable to attack using large RSA keys

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.

Published
8 Aug 2023
Last modified
1 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-770
Also known as
GHSA-876p-8259-xjggGO-2023-2000
Sources
NVDJSONOSV GHSA-876p-8259-xjggJSONOSV GO-2023-2000JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD libp2p go-libp2p
cpe:2.3:a:libp2p:go-libp2p:*:*:*:*:*:go:*:*
< 0.27.8 0.27.8
NVD libp2p go-libp2p
cpe:2.3:a:libp2p:go-libp2p:*:*:*:*:*:go:*:*
>= 0.28.0, < 0.28.2 0.28.2
NVD libp2p go-libp2p
cpe:2.3:a:libp2p:go-libp2p:0.29.0:*:*:*:*:go:*:*
= 0.29.0
OSV Go github.com/libp2p/go-libp2p < 0.27.8 0.27.8
OSV Go github.com/libp2p/go-libp2p >= 0.28.0, < 0.28.2 0.28.2
OSV Go github.com/libp2p/go-libp2p >= 0.29.0, < 0.29.1 0.29.1
OSV Go github.com/libp2p/go-libp2p < 0.27.8; >= 0.28.0, < 0.28.2; >= 0.29.0, < 0.29.1 0.27.8, 0.28.2, 0.29.1

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 8 Aug 2023)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 8 Aug 2023)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 9 Aug 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.