{"id":"CVE-2025-24015","state":"PUBLISHED","title":"Deno's AES GCM authentication tags are not verified","description":"Deno is a JavaScript, TypeScript, and WebAssembly runtime. Versions 1.46.0 through 2.1.6 have an issue that affects AES-256-GCM and AES-128-GCM in Deno in which the authentication tag is not being validated. This means tampered ciphertexts or incorrect keys might not be detected, which breaks the guarantees expected from AES-GCM. Older versions of Deno correctly threw errors in such cases, as does Node.js. Without authentication tag verification, AES-GCM degrades to essentially CTR mode, removing integrity protection. Authenticated data set with set_aad is also affected, as it is incorporated into the GCM hash (ghash) but this too is not validated, rendering AAD checks ineffective. Version 2.1.7 includes a patch that addresses this issue.","publishedAt":"2025-06-03T22:48:52.906Z","updatedAt":"2025-06-04T19:15:04.623Z","severity":{"score":7.7,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P","source":"GitHub_M"},"assigner":"GitHub_M","products":["denoland deno"],"affected":[{"vendor":"denoland","product":"deno","versions":[{"version":">= 1.46.0, < 2.1.7","status":"affected"}]}],"references":["https://github.com/denoland/deno/security/advisories/GHSA-2x3r-hwv5-p32x","https://github.com/denoland/deno/commit/0d1beed","https://github.com/denoland/deno/commit/4f27d7cdc02e3edfb9d36275341fb8185d6e99ed","https://github.com/denoland/deno/commit/a4003a5292bd0affefad3ecb24a8732886900f67"],"weaknesses":["CWE-347"],"ingestedAt":"2026-10-29T20:08:47.682Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/24xxx/CVE-2025-24015.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-24015","state":"PUBLISHED","datePublished":"2025-06-03T22:48:52.906Z","dateUpdated":"2025-06-04T19:15:04.623Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-01-16T17:31:06.458Z"},"containers":{"cna":{"title":"Deno's AES GCM authentication tags are not verified","descriptions":[{"lang":"en","value":"Deno is a JavaScript, TypeScript, and WebAssembly runtime. Versions 1.46.0 through 2.1.6 have an issue that affects AES-256-GCM and AES-128-GCM in Deno in which the authentication tag is not being validated. This means tampered ciphertexts or incorrect keys might not be detected, which breaks the guarantees expected from AES-GCM. Older versions of Deno correctly threw errors in such cases, as does Node.js. Without authentication tag verification, AES-GCM degrades to essentially CTR mode, removing integrity protection. Authenticated data set with set_aad is also affected, as it is incorporated into the GCM hash (ghash) but this too is not validated, rendering AAD checks ineffective. Version 2.1.7 includes a patch that addresses this issue."}],"affected":[{"vendor":"denoland","product":"deno","versions":[{"version":">= 1.46.0, < 2.1.7","status":"affected"}]}],"references":[{"url":"https://github.com/denoland/deno/security/advisories/GHSA-2x3r-hwv5-p32x","name":"https://github.com/denoland/deno/security/advisories/GHSA-2x3r-hwv5-p32x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/denoland/deno/commit/0d1beed","name":"https://github.com/denoland/deno/commit/0d1beed","tags":["x_refsource_MISC"]},{"url":"https://github.com/denoland/deno/commit/4f27d7cdc02e3edfb9d36275341fb8185d6e99ed","name":"https://github.com/denoland/deno/commit/4f27d7cdc02e3edfb9d36275341fb8185d6e99ed","tags":["x_refsource_MISC"]},{"url":"https://github.com/denoland/deno/commit/a4003a5292bd0affefad3ecb24a8732886900f67","name":"https://github.com/denoland/deno/commit/a4003a5292bd0affefad3ecb24a8732886900f67","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":7.7,"baseSeverity":"HIGH","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-347","lang":"en","description":"CWE-347: Improper Verification of Cryptographic Signature","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-06-04T19:15:04.623Z"},"source":{"advisory":"GHSA-2x3r-hwv5-p32x","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/denoland/deno/security/advisories/GHSA-2x3r-hwv5-p32x","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-06-04T13:47:24.881813Z","id":"CVE-2025-24015","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-06-04T13:47:28.807Z"}}]}}}