2024-12-08 03:06:42 +00:00

105 lines
3.7 KiB
JSON

{
"id": "CVE-2021-4239",
"sourceIdentifier": "security@golang.org",
"published": "2022-12-27T22:15:12.123",
"lastModified": "2024-11-21T06:37:12.730",
"vulnStatus": "Modified",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "The Noise protocol implementation suffers from weakened cryptographic security after encrypting 2^64 messages, and a potential denial of service attack. After 2^64 (~18.4 quintillion) messages are encrypted with the Encrypt function, the nonce counter will wrap around, causing multiple messages to be encrypted with the same key and nonce. In a separate issue, the Decrypt function increments the nonce state even when it fails to decrypt a message. If an attacker can provide an invalid input to the Decrypt function, this will cause the nonce state to desynchronize between the peers, resulting in a failure to encrypt all subsequent messages."
},
{
"lang": "es",
"value": "La implementaci\u00f3n del protocolo Noise sufre de seguridad criptogr\u00e1fica debilitada despu\u00e9s de cifrar 2^64 mensajes y un posible ataque de denegaci\u00f3n de servicio. Despu\u00e9s de cifrar 2^64 (~18,4 quintillones) de mensajes con la funci\u00f3n Encrypt , el contador nonce se ajustar\u00e1, lo que provocar\u00e1 que se cifren varios mensajes con la misma clave y nonce. En un tema aparte, la funci\u00f3n Decrypt incrementa el estado nonce incluso cuando no logra descifrar un mensaje. Si un atacante puede proporcionar una entrada no v\u00e1lida a la funci\u00f3n Decrypt, esto har\u00e1 que el estado nonce se desincronice entre los pares, lo que resultar\u00e1 en un fallo al cifrar todos los mensajes posteriores."
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "nvd@nist.gov",
"type": "Primary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "HIGH",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 3.9,
"impactScore": 3.6
}
]
},
"weaknesses": [
{
"source": "nvd@nist.gov",
"type": "Primary",
"description": [
{
"lang": "en",
"value": "CWE-311"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:noiseprotocol:noise:-:*:*:*:*:go:*:*",
"matchCriteriaId": "09D5D86A-ADA9-4223-B806-D248CD55F94A"
}
]
}
]
}
],
"references": [
{
"url": "https://github.com/flynn/noise/pull/44",
"source": "security@golang.org",
"tags": [
"Patch",
"Third Party Advisory"
]
},
{
"url": "https://pkg.go.dev/vuln/GO-2022-0425",
"source": "security@golang.org",
"tags": [
"Patch",
"Vendor Advisory"
]
},
{
"url": "https://github.com/flynn/noise/pull/44",
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Patch",
"Third Party Advisory"
]
},
{
"url": "https://pkg.go.dev/vuln/GO-2022-0425",
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Patch",
"Vendor Advisory"
]
}
]
}