| { |
| "schema_version": "1.3.1", |
| "id": "GO-2023-2000", |
| "modified": "0001-01-01T00:00:00Z", |
| "published": "0001-01-01T00:00:00Z", |
| "aliases": [ |
| "CVE-2023-39533", |
| "GHSA-876p-8259-xjgg" |
| ], |
| "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.\n\nWith fix, the size of RSA keys transmitted during handshakes is restricted to \u003c= 8192 bits.", |
| "affected": [ |
| { |
| "package": { |
| "name": "github.com/libp2p/go-libp2p", |
| "ecosystem": "Go" |
| }, |
| "ranges": [ |
| { |
| "type": "SEMVER", |
| "events": [ |
| { |
| "introduced": "0" |
| }, |
| { |
| "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" |
| ] |
| } |
| ] |
| } |
| } |
| ], |
| "references": [ |
| { |
| "type": "ADVISORY", |
| "url": "https://github.com/libp2p/go-libp2p/security/advisories/GHSA-876p-8259-xjgg" |
| }, |
| { |
| "type": "REPORT", |
| "url": "https://go.dev/issue/61460" |
| }, |
| { |
| "type": "FIX", |
| "url": "https://github.com/libp2p/go-libp2p/commit/0cce607219f3710addc7e18672cffd1f1d912fbb" |
| } |
| ], |
| "database_specific": { |
| "url": "https://pkg.go.dev/vuln/GO-2023-2000", |
| "review_status": "REVIEWED" |
| } |
| } |