ADVISORIES

Go Vulnerability Database

GO-2023-2000

Large RSA keys can cause high resource usage in github.com/libp2p/go-libp2p

Details

Large RSA keys can lead to resource exhaustion attacks.

With fix, the size of RSA keys transmitted during handshakes is restricted to <= 8192 bits.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/libp2p/go-libp2p
All versions before 0.27.8 (fixed in 0.27.8)
From 0.28.0 before 0.28.2 (fixed in 0.28.2)
From 0.29.0 before 0.29.1 (fixed in 0.29.1)

References