{"api_version":"1","generated_at":"2026-04-23T06:20:56+00:00","cve":"CVE-2023-39533","urls":{"html":"https://cve.report/CVE-2023-39533","api":"https://cve.report/api/cve/CVE-2023-39533.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-39533","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-39533"},"summary":{"title":"CVE-2023-39533","description":"go-libp2p is the Go implementation of the libp2p Networking Stack. Prior to versions 0.27.8, 0.28.2, and 0.29.1 malicious peer can use large RSA keys to run a resource exhaustion attack & force a node to spend time doing signature verification of the large key. This vulnerability is present in the core/crypto module of go-libp2p and can occur during the Noise handshake and the libp2p x509 extension verification step. To prevent this attack, go-libp2p versions 0.27.8, 0.28.2, and 0.29.1 restrict RSA keys to <= 8192 bits. To protect one's application, it is necessary to update to these patch releases and to use the updated Go compiler in 1.20.7 or 1.19.12. There are no known workarounds for this issue.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-08-08 19:15:00","updated_at":"2023-10-31 19:08:00"},"problem_types":["CWE-770"],"metrics":[],"references":[{"url":"https://github.com/libp2p/go-libp2p/commit/0cce607219f3710addc7e18672cffd1f1d912fbb","name":"https://github.com/libp2p/go-libp2p/commit/0cce607219f3710addc7e18672cffd1f1d912fbb","refsource":"MISC","tags":[],"title":"core/crypto: restrict RSA keys to <= 8192 bits (#2454) · libp2p/go-libp2p@0cce607 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/libp2p/go-libp2p/pull/2454","name":"https://github.com/libp2p/go-libp2p/pull/2454","refsource":"MISC","tags":[],"title":"core/crypto: restrict RSA keys to <= 8192 bits by MarcoPolo · Pull Request #2454 · libp2p/go-libp2p · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/quic-go/quic-go/pull/4012","name":"https://github.com/quic-go/quic-go/pull/4012","refsource":"MISC","tags":[],"title":"update qtls to restrict RSA keys in certificates to <= 8192 bits by marten-seemann · Pull Request #4012 · quic-go/quic-go · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/golang/go/issues/61460","name":"https://github.com/golang/go/issues/61460","refsource":"MISC","tags":[],"title":"crypto/tls: verifying certificate chains containing large RSA keys is slow [CVE-2023-29409] · Issue #61460 · golang/go · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/libp2p/go-libp2p/security/advisories/GHSA-876p-8259-xjgg","name":"https://github.com/libp2p/go-libp2p/security/advisories/GHSA-876p-8259-xjgg","refsource":"MISC","tags":[],"title":"libp2p nodes vulnerable to attack using large RSA keys · Advisory · libp2p/go-libp2p · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/libp2p/go-libp2p/commit/445be526aea4ee0b1fa5388aa65d32b2816d3a00","name":"https://github.com/libp2p/go-libp2p/commit/445be526aea4ee0b1fa5388aa65d32b2816d3a00","refsource":"MISC","tags":[],"title":"core/crypto: restrict RSA keys to <= 8192 bits (#2454) · libp2p/go-libp2p@445be52 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/golang/go/commit/2350afd2e8ab054390e284c95d5b089c142db017","name":"https://github.com/golang/go/commit/2350afd2e8ab054390e284c95d5b089c142db017","refsource":"MISC","tags":[],"title":"crypto/tls: restrict RSA keys in certificates to <= 8192 bits · golang/go@2350afd · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/libp2p/go-libp2p/commit/e30fcf7dfd4715ed89a5e68d7a4f774d3b9aa92d","name":"https://github.com/libp2p/go-libp2p/commit/e30fcf7dfd4715ed89a5e68d7a4f774d3b9aa92d","refsource":"MISC","tags":[],"title":"core/crypto: restrict RSA keys to <= 8192 bits (#2454) · libp2p/go-libp2p@e30fcf7 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-39533","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-39533","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"39533","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"golang","cpe5":"go","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2023","cve_id":"39533","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"libp2p","cpe5":"go-libp2p","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"go","cpe12":"*","cpe13":"*"},{"cve_year":"2023","cve_id":"39533","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"libp2p","cpe5":"go-libp2p","cpe6":"0.29.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"go","cpe12":"*","cpe13":"*"},{"cve_year":"2023","cve_id":"39533","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"quic_project","cpe5":"quic","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"go","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2023-39533","qid":"907821","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for golang (27872-2)"},{"cve":"CVE-2023-39533","qid":"994783","title":"GO (Go) Security Update for github.com/libp2p/go-libp2p (GHSA-876p-8259-xjgg)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-39533","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"go-libp2p is the Go implementation of the libp2p Networking Stack. Prior to versions 0.27.8, 0.28.2, and 0.29.1 malicious peer can use large RSA keys to run a resource exhaustion attack & force a node to spend time doing signature verification of the large key. This vulnerability is present in the core/crypto module of go-libp2p and can occur during the Noise handshake and the libp2p x509 extension verification step. To prevent this attack, go-libp2p versions 0.27.8, 0.28.2, and 0.29.1 restrict RSA keys to <= 8192 bits. To protect one's application, it is necessary to update to these patch releases and to use the updated Go compiler in 1.20.7 or 1.19.12. There are no known workarounds for this issue."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-770: Allocation of Resources Without Limits or Throttling","cweId":"CWE-770"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"libp2p","product":{"product_data":[{"product_name":"go-libp2p","version":{"version_data":[{"version_affected":"=","version_value":"< 0.27.8"},{"version_affected":"=","version_value":">= 0.28.0, < 0.28.2"},{"version_affected":"=","version_value":"= 0.29.0"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/libp2p/go-libp2p/security/advisories/GHSA-876p-8259-xjgg","refsource":"MISC","name":"https://github.com/libp2p/go-libp2p/security/advisories/GHSA-876p-8259-xjgg"},{"url":"https://github.com/golang/go/issues/61460","refsource":"MISC","name":"https://github.com/golang/go/issues/61460"},{"url":"https://github.com/libp2p/go-libp2p/pull/2454","refsource":"MISC","name":"https://github.com/libp2p/go-libp2p/pull/2454"},{"url":"https://github.com/quic-go/quic-go/pull/4012","refsource":"MISC","name":"https://github.com/quic-go/quic-go/pull/4012"},{"url":"https://github.com/golang/go/commit/2350afd2e8ab054390e284c95d5b089c142db017","refsource":"MISC","name":"https://github.com/golang/go/commit/2350afd2e8ab054390e284c95d5b089c142db017"},{"url":"https://github.com/libp2p/go-libp2p/commit/0cce607219f3710addc7e18672cffd1f1d912fbb","refsource":"MISC","name":"https://github.com/libp2p/go-libp2p/commit/0cce607219f3710addc7e18672cffd1f1d912fbb"},{"url":"https://github.com/libp2p/go-libp2p/commit/445be526aea4ee0b1fa5388aa65d32b2816d3a00","refsource":"MISC","name":"https://github.com/libp2p/go-libp2p/commit/445be526aea4ee0b1fa5388aa65d32b2816d3a00"},{"url":"https://github.com/libp2p/go-libp2p/commit/e30fcf7dfd4715ed89a5e68d7a4f774d3b9aa92d","refsource":"MISC","name":"https://github.com/libp2p/go-libp2p/commit/e30fcf7dfd4715ed89a5e68d7a4f774d3b9aa92d"}]},"source":{"advisory":"GHSA-876p-8259-xjgg","discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}]}},"nvd":{"publishedDate":"2023-08-08 19:15:00","lastModifiedDate":"2023-10-31 19:08:00","problem_types":["CWE-770"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:libp2p:go-libp2p:*:*:*:*:*:go:*:*","versionStartIncluding":"0.28.0","versionEndExcluding":"0.28.2","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:libp2p:go-libp2p:*:*:*:*:*:go:*:*","versionEndExcluding":"0.27.8","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:libp2p:go-libp2p:0.29.0:*:*:*:*:go:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}