{"id":"CVE-2025-24015","published":"2025-06-03T22:48:52Z","modified":"2025-06-04T19:15:04Z","title":"Deno's AES GCM authentication tags are not verified","vendor":"denoland","product":"deno","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00287,"percentile":0.21686,"provenance":"source"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"references":[{"url":"https://github.com/denoland/deno/security/advisories/GHSA-2x3r-hwv5-p32x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/denoland/deno/commit/0d1beed","tags":["x_refsource_MISC"]},{"url":"https://github.com/denoland/deno/commit/4f27d7cdc02e3edfb9d36275341fb8185d6e99ed","tags":["x_refsource_MISC"]},{"url":"https://github.com/denoland/deno/commit/a4003a5292bd0affefad3ecb24a8732886900f67","tags":["x_refsource_MISC"]}],"priority":{"score":9.7,"factors":[{"name":"EPSS percentile","points":4.34},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"denoland","affectedVersions":[{"vendor":"denoland","product":"deno","versions":[">= 1.46.0, < 2.1.7"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-06-04T13:47:24.881813Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"deno","vulnerableRanges":[">=1.46.0, <2.1.7"],"patched":["2.1.7"],"from":["GHSA-2x3r-hwv5-p32x"],"provenance":"source"},{"ecosystem":"crates.io","package":"deno_node","vulnerableRanges":[">=0.102.0, <0.125.0"],"patched":["0.125.0"],"from":["GHSA-2x3r-hwv5-p32x"],"provenance":"source"}],"summary":{"text":"Deno, the JavaScript, TypeScript, and WebAssembly runtime, versions 1.46.0 through 2.1.6, fails to validate the authentication tag in its AES-256-GCM and AES-128-GCM implementations, and the same omission affects AAD checks set via set_aad. An attacker able to supply or modify ciphertext, or whose ciphertext is processed with an incorrect key, can have that tampering go undetected, since no network access, authentication, user interaction, or special configuration is required beyond the application using these ciphers in Deno.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:04:44Z"},"euvd":{"id":"EUVD-2025-16794","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-denoland-deno-cve-2024-27933","parents":[{"from":"CVE-2024-27933","to":"CVE-2025-24015","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["ext/node/lib.rs"],"commits":["https://github.com/denoland/deno/commit/55fac9f5ead6d30996400e8597c969b675c5a22b","https://github.com/denoland/deno/commit/5a91a065b882215dde209baf626247e54c21a392","https://github.com/denoland/deno/commit/0d1beed2e3633d71d5e288e0382b85be361ec13d","https://github.com/denoland/deno/commit/4f27d7cdc02e3edfb9d36275341fb8185d6e99ed"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2024-27931","published":"2024-03-05","fixed":"1.41.1","kev":false},{"cve":"CVE-2024-34346","published":"2024-05-07","fixed":"1.43.1","kev":false},{"cve":"CVE-2025-21620","published":"2025-01-06","fixed":"2.1.2","kev":false,"link":{"from":"CVE-2025-21620","to":"CVE-2025-24015","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:deno","fromFixed":"2.1.2","toFixed":"2.1.7","daysApart":148}]}},{"cve":"CVE-2025-24015","published":"2025-06-03","fixed":"2.1.7","kev":false},{"cve":"CVE-2025-48935","published":"2025-06-04","fixed":"2.2.5","kev":false},{"cve":"CVE-2025-48934","published":"2025-06-04","fixed":"2.2.13","kev":false,"link":{"from":"CVE-2025-24015","to":"CVE-2025-48934","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:deno","fromFixed":"2.1.7","toFixed":"2.1.13","daysApart":1}]}},{"cve":"CVE-2025-48888","published":"2025-06-04","fixed":"2.3.2","kev":false,"link":{"from":"CVE-2025-24015","to":"CVE-2025-48888","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:deno","fromFixed":"2.1.7","toFixed":"2.1.13","daysApart":1}]}}],"package":"crates.io:deno"}}