GO-2023-2000

Source
https://pkg.go.dev/vuln/GO-2023-2000
Import Source
https://vuln.go.dev/ID/GO-2023-2000.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2023-2000
Aliases
Published
2023-08-08T23:49:18Z
Modified
2024-05-20T16:03:47Z
Summary
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.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2023-2000"
}
References

Affected packages

Go / github.com/libp2p/go-libp2p

Package

Name
github.com/libp2p/go-libp2p
View open source insights on deps.dev
Purl
pkg:golang/github.com/libp2p/go-libp2p

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.27.8
Introduced
0.28.0
Fixed
0.28.2
Introduced
0.29.0
Fixed
0.29.1

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/libp2p/go-libp2p/core/crypto",
            "symbols": [
                "GenerateKeyPair",
                "GenerateKeyPairWithReader",
                "GenerateRSAKeyPair",
                "PublicKeyFromProto",
                "UnmarshalPrivateKey",
                "UnmarshalPublicKey",
                "UnmarshalRsaPrivateKey",
                "UnmarshalRsaPublicKey"
            ]
        }
    ]
}