CVE-2023-40583

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-40583
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-40583.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-40583
Aliases
Related
Published
2023-08-25T21:15:09Z
Modified
2025-02-19T03:34:24.960959Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

libp2p is a networking stack and library modularized out of The IPFS Project, and bundled separately for other tools to use. In go-libp2p, by using signed peer records a malicious actor can store an arbitrary amount of data in a remote node’s memory. This memory does not get garbage collected and so the victim can run out of memory and crash. If users of go-libp2p in production are not monitoring memory consumption over time, it could be a silent attack i.e. the attacker could bring down nodes over a period of time (how long depends on the node resources i.e. a go-libp2p node on a virtual server with 4 gb of memory takes about 90 sec to bring down; on a larger server, it might take a bit longer.) This issue was patched in version 0.27.4.

References

Affected packages

Git / github.com/libp2p/go-libp2p

Affected ranges

Type
GIT
Repo
https://github.com/libp2p/go-libp2p
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Type
GIT
Repo
https://github.com/libp2p/js-libp2p
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

gx/v1.*

gx/v1.0.0

gx/v2.*

gx/v2.0.1
gx/v2.0.2
gx/v2.0.3

gx/v3.*

gx/v3.0.0
gx/v3.1.0
gx/v3.2.0
gx/v3.2.1
gx/v3.2.2
gx/v3.2.3
gx/v3.3.0
gx/v3.3.1
gx/v3.3.2
gx/v3.3.3
gx/v3.3.4
gx/v3.3.6
gx/v3.3.7
gx/v3.4.0
gx/v3.4.1
gx/v3.4.2
gx/v3.4.3
gx/v3.5.0
gx/v3.5.1
gx/v3.5.2
gx/v3.5.3
gx/v3.5.4
gx/v3.6.0

gx/v4.*

gx/v4.0.0
gx/v4.0.1
gx/v4.0.2
gx/v4.0.3
gx/v4.0.4
gx/v4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