cve.bz

CVE-2023-39533 libp2p go-libp2p

7.5 highExploit referenceEPSS 1.5%Fix available

High (7.5) in libp2p go-libp2p. EPSS 1.5% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/libp2p/go-libp2p 0.27.8, 0.28.2, 0.29.1.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.5% (unchanged from 1.5% a week ago; 1.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 75th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2024-10-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-39533 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-39533?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-39533?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-39533 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libp2p:go-libp2pbefore 0.27.8
libp2p:go-libp2pfrom 0.28.0 before 0.28.2
libp2p:go-libp2p0.29.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-876p-8259-xjggGogithub.com/libp2p/go-libp2p<0.27.80.27.8
GHSA-876p-8259-xjggGogithub.com/libp2p/go-libp2p>=0.28.0 <0.28.20.28.2
GHSA-876p-8259-xjggGogithub.com/libp2p/go-libp2p>=0.29.0 <0.29.10.29.1
GO-2023-2000Gogithub.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

Linux distributions

DistributionReleasePackageFixed inAdvisory
Azure Linux2golang1.19.12-1AZL-27872
Azure Linux2golang1.21.6-1AZL-37359 AZL-37422
Azure Linux2msft-golang1.19.12-1AZL-27875
Azure Linux3golangno fix listedAZL-79074 AZL-98640
Azure Linux3golang1.19.12-1AZL-52773

From the distributions' data via OSV.dev: Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The go-libp2p package is not shipped in any of the Red Hat products, therefore, no Red Hat products are impacted by CVE-2023-39533.

ProductPackageStateAdvisory
Red Hat OpenShift Container Platform 4openshiftNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-39533.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON