gsd-2023-39533
Vulnerability from gsd
Modified
2023-12-13 01:20
Details
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.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2023-39533", "id": "GSD-2023-39533" }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "CVE-2023-39533" ], "details": "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 \u0026 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 \u003c= 8192 bits. To protect one\u0027s 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.", "id": "GSD-2023-39533", "modified": "2023-12-13T01:20:33.270104Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2023-39533", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "go-libp2p", "version": { "version_data": [ { "version_affected": "=", "version_value": "\u003c 0.27.8" }, { "version_affected": "=", "version_value": "\u003e= 0.28.0, \u003c 0.28.2" }, { "version_affected": "=", "version_value": "= 0.29.0" } ] } } ] }, "vendor_name": "libp2p" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "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 \u0026 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 \u003c= 8192 bits. To protect one\u0027s 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." } ] }, "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" } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "cweId": "CWE-770", "lang": "eng", "value": "CWE-770: Allocation of Resources Without Limits or Throttling" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/libp2p/go-libp2p/security/advisories/GHSA-876p-8259-xjgg", "refsource": "MISC", "url": "https://github.com/libp2p/go-libp2p/security/advisories/GHSA-876p-8259-xjgg" }, { "name": "https://github.com/golang/go/issues/61460", "refsource": "MISC", "url": "https://github.com/golang/go/issues/61460" }, { "name": "https://github.com/libp2p/go-libp2p/pull/2454", "refsource": "MISC", "url": "https://github.com/libp2p/go-libp2p/pull/2454" }, { "name": "https://github.com/quic-go/quic-go/pull/4012", "refsource": "MISC", "url": "https://github.com/quic-go/quic-go/pull/4012" }, { "name": "https://github.com/golang/go/commit/2350afd2e8ab054390e284c95d5b089c142db017", "refsource": "MISC", "url": "https://github.com/golang/go/commit/2350afd2e8ab054390e284c95d5b089c142db017" }, { "name": "https://github.com/libp2p/go-libp2p/commit/0cce607219f3710addc7e18672cffd1f1d912fbb", "refsource": "MISC", "url": "https://github.com/libp2p/go-libp2p/commit/0cce607219f3710addc7e18672cffd1f1d912fbb" }, { "name": "https://github.com/libp2p/go-libp2p/commit/445be526aea4ee0b1fa5388aa65d32b2816d3a00", "refsource": "MISC", "url": "https://github.com/libp2p/go-libp2p/commit/445be526aea4ee0b1fa5388aa65d32b2816d3a00" }, { "name": "https://github.com/libp2p/go-libp2p/commit/e30fcf7dfd4715ed89a5e68d7a4f774d3b9aa92d", "refsource": "MISC", "url": "https://github.com/libp2p/go-libp2p/commit/e30fcf7dfd4715ed89a5e68d7a4f774d3b9aa92d" } ] }, "source": { "advisory": "GHSA-876p-8259-xjgg", "discovery": "UNKNOWN" } }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:libp2p:go-libp2p:*:*:*:*:*:go:*:*", "cpe_name": [], "versionEndExcluding": "0.28.2", "versionStartIncluding": "0.28.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:libp2p:go-libp2p:*:*:*:*:*:go:*:*", "cpe_name": [], "versionEndExcluding": "0.27.8", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:libp2p:go-libp2p:0.29.0:*:*:*:*:go:*:*", "cpe_name": [], "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2023-39533" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "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 \u0026 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 \u003c= 8192 bits. To protect one\u0027s 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": "en", "value": "CWE-770" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/libp2p/go-libp2p/commit/e30fcf7dfd4715ed89a5e68d7a4f774d3b9aa92d", "refsource": "MISC", "tags": [ "Patch" ], "url": "https://github.com/libp2p/go-libp2p/commit/e30fcf7dfd4715ed89a5e68d7a4f774d3b9aa92d" }, { "name": "https://github.com/libp2p/go-libp2p/pull/2454", "refsource": "MISC", "tags": [ "Exploit", "Patch", "Vendor Advisory" ], "url": "https://github.com/libp2p/go-libp2p/pull/2454" }, { "name": "https://github.com/quic-go/quic-go/pull/4012", "refsource": "MISC", "tags": [ "Patch", "Third Party Advisory" ], "url": "https://github.com/quic-go/quic-go/pull/4012" }, { "name": "https://github.com/libp2p/go-libp2p/security/advisories/GHSA-876p-8259-xjgg", "refsource": "MISC", "tags": [ "Patch", "Vendor Advisory" ], "url": "https://github.com/libp2p/go-libp2p/security/advisories/GHSA-876p-8259-xjgg" }, { "name": "https://github.com/libp2p/go-libp2p/commit/0cce607219f3710addc7e18672cffd1f1d912fbb", "refsource": "MISC", "tags": [ "Patch" ], "url": "https://github.com/libp2p/go-libp2p/commit/0cce607219f3710addc7e18672cffd1f1d912fbb" }, { "name": "https://github.com/golang/go/commit/2350afd2e8ab054390e284c95d5b089c142db017", "refsource": "MISC", "tags": [ "Not Applicable", "Patch" ], "url": "https://github.com/golang/go/commit/2350afd2e8ab054390e284c95d5b089c142db017" }, { "name": "https://github.com/golang/go/issues/61460", "refsource": "MISC", "tags": [ "Issue Tracking", "Not Applicable", "Vendor Advisory" ], "url": "https://github.com/golang/go/issues/61460" }, { "name": "https://github.com/libp2p/go-libp2p/commit/445be526aea4ee0b1fa5388aa65d32b2816d3a00", "refsource": "MISC", "tags": [ "Patch" ], "url": "https://github.com/libp2p/go-libp2p/commit/445be526aea4ee0b1fa5388aa65d32b2816d3a00" } ] } }, "impact": { "baseMetricV3": { "cvssV3": { "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" }, "exploitabilityScore": 3.9, "impactScore": 3.6 } }, "lastModifiedDate": "2023-10-31T19:08Z", "publishedDate": "2023-08-08T19:15Z" } } }
Loading...
Loading...
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.