github.com/libp2p/go-libp2p
Affected
- introduced
0, fixed0.18.0(semver)
Fixed versions
0.18.0
Fix
- Fixed version
0.18.0go get github.com/libp2p/[email protected]
Advisory
Also known as: CVE-2022-23492, GHSA-j7qp-mfxf-8xjw
Resource exhaustion in github.com/libp2p/go-libp2p
go-libp2p is vulnerable to targeted resource exhaustion attacks.
These attacks target libp2p's connection, stream, peer, and memory management. An attacker can cause the allocation of large amounts of memory ultimately leading to the process getting killed by the host's operating system.
While a connection manager tasked with keeping the number of connections within manageable limits has been part of go-libp2p, this component was designed to handle the regular churn of peers, not a targeted resource exhaustion attack.
It's recommend to update to v0.21.0 onwards to get some useful functionality that will help in production environments like better metrics around resource usage, Grafana dashboards around resource usage, allow list support, and default autoscaling limits.
Not rated by the source.
0, fixed 0.18.0 (semver)0.18.0
0.18.0go get github.com/libp2p/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: Go Vulnerability Database · CC BY 4.0