CVE-2023-39533
go-libp2p es la implementación en Go de la pila de redes libp2p. Antes de las versiones 0.27.8, 0.28.2 y 0.29.1, un par malintencionado puede usar claves RSA grandes para llevar a cabo un ataque de agotamiento de recursos y obligar a un nodo a dedicar tiempo a la verificación de firmas de la clave grande. Esta vulnerabilidad está presente en el módulo core/crypto de go-libp2p y puede producirse durante el handshake de Noise y en el paso de verificación de la extensión x509 de libp2p.
Leer descripción completaMostrar menos
Para evitar este ataque, las versiones 0.27.8, 0.28.2 y 0.29.1 de go-libp2p restringen las claves RSA a <= 8192 bits. Para proteger una aplicación, es necesario actualizar a estas versiones de parche y utilizar el compilador de Go actualizado 1.20.7 o 1.19.12. No se conocen soluciones alternativas para este problema.
Traducción automática del texto original de NVD (en inglés).
Cronología
Elaborada con nuestros propios datos: NVD, CISA KEV y otros catálogos de explotación, FIRST EPSS, exploits públicos, prensa especializada y la cobertura de Orbitaley.
- Registro CVE publicado en NVD
- Última modificación del registro en NVD
Tecnologías afectadas (1)
Registro NVD
- Estado en NVD
- Modificada
- Publicada
- 8 ago 2023
- Última modificación
- 1 sept 2026
- Vector CVSS
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Debilidad (CWE)
- CWE-770
Referencias
- Aviso del fabricantegithub.com/golang/go/issues/61460
- Aviso del fabricantegithub.com/libp2p/go-libp2p/pull/2454
- Aviso del fabricantegithub.com/libp2p/go-libp2p/security/advisories/GHSA-876p-8259-…
- Parchegithub.com/golang/go/commit/2350afd2e8ab054390e284c95d5b089c142…
- Parchegithub.com/libp2p/go-libp2p/commit/0cce607219f3710addc7e18672cf…
- Parchegithub.com/libp2p/go-libp2p/commit/445be526aea4ee0b1fa5388aa65d…
Mostrar 3 referencias másMostrar menos
JSON original (NVD)
Mostrar
{
"id": "CVE-2023-39533",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2023-39533",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "yes"
},
{
"technicalImpact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2024-10-10T17:41:23.279311Z"
}
}
],
"cvssMetricV31": [
{
"type": "Secondary",
"source": "security-advisories@github.com",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7.5,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"integrityImpact": "NONE",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "NONE",
"confidentialityImpact": "NONE"
},
"impactScore": 3.6,
"exploitabilityScore": 3.9
},
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7.5,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"integrityImpact": "NONE",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "NONE",
"confidentialityImpact": "NONE"
},
"impactScore": 3.6,
"exploitabilityScore": 3.9
}
]
},
"affected": [
{
"source": "security-advisories@github.com",
"affectedData": [
{
"vendor": "libp2p",
"product": "go-libp2p",
"versions": [
{
"status": "affected",
"version": "< 0.27.8"
},
{
"status": "affected",
"version": ">= 0.28.0, < 0.28.2"
},
{
"status": "affected",
"version": "= 0.29.0"
}
]
}
]
}
],
"published": "2023-08-08T19:15:10.657",
"references": [
{
"url": "https://github.com/golang/go/commit/2350afd2e8ab054390e284c95d5b089c142db017",
"tags": [
"Not Applicable",
"Patch"
],
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/golang/go/issues/61460",
"tags": [
"Issue Tracking",
"Not Applicable",
"Vendor Advisory"
],
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/libp2p/go-libp2p/commit/0cce607219f3710addc7e18672cffd1f1d912fbb",
"tags": [
"Patch"
],
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/libp2p/go-libp2p/commit/445be526aea4ee0b1fa5388aa65d32b2816d3a00",
"tags": [
"Patch"
],
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/libp2p/go-libp2p/commit/e30fcf7dfd4715ed89a5e68d7a4f774d3b9aa92d",
"tags": [
"Patch"
],
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/libp2p/go-libp2p/pull/2454",
"tags": [
"Exploit",
"Patch",
"Vendor Advisory"
],
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/libp2p/go-libp2p/security/advisories/GHSA-876p-8259-xjgg",
"tags": [
"Patch",
"Vendor Advisory"
],
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/quic-go/quic-go/pull/4012",
"tags": [
"Patch",
"Third Party Advisory"
],
"source": "security-advisories@github.com"
},
{
"url": "https://nrdax.com/techniques/NRDAX-T0205-pre-handshake-crypto-cpu-burn",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/golang/go/commit/2350afd2e8ab054390e284c95d5b089c142db017",
"tags": [
"Not Applicable",
"Patch"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://github.com/golang/go/issues/61460",
"tags": [
"Issue Tracking",
"Not Applicable",
"Vendor Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://github.com/libp2p/go-libp2p/commit/0cce607219f3710addc7e18672cffd1f1d912fbb",
"tags": [
"Patch"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://github.com/libp2p/go-libp2p/commit/445be526aea4ee0b1fa5388aa65d32b2816d3a00",
"tags": [
"Patch"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://github.com/libp2p/go-libp2p/commit/e30fcf7dfd4715ed89a5e68d7a4f774d3b9aa92d",
"tags": [
"Patch"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://github.com/libp2p/go-libp2p/pull/2454",
"tags": [
"Exploit",
"Patch",
"Vendor Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://github.com/libp2p/go-libp2p/security/advisories/GHSA-876p-8259-xjgg",
"tags": [
"Patch",
"Vendor Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://github.com/quic-go/quic-go/pull/4012",
"tags": [
"Patch",
"Third Party Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Secondary",
"source": "security-advisories@github.com",
"description": [
{
"lang": "en",
"value": "CWE-770"
}
]
}
],
"descriptions": [
{
"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 & 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."
}
],
"lastModified": "2026-09-01T22:17:08.920",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:libp2p:go-libp2p:*:*:*:*:*:go:*:*",
"vulnerable": true,
"matchCriteriaId": "7E5E9196-C94D-4E08-93BA-AC1141ECE878",
"versionEndExcluding": "0.27.8"
},
{
"criteria": "cpe:2.3:a:libp2p:go-libp2p:*:*:*:*:*:go:*:*",
"vulnerable": true,
"matchCriteriaId": "609AAD6A-5165-4995-B994-2F49D8751607",
"versionEndExcluding": "0.28.2",
"versionStartIncluding": "0.28.0"
},
{
"criteria": "cpe:2.3:a:libp2p:go-libp2p:0.29.0:*:*:*:*:go:*:*",
"vulnerable": true,
"matchCriteriaId": "E7425EF5-C9F9-4834-B742-7F1117C974C1"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "security-advisories@github.com"
}