PT-2025-23677 · Deno · Deno
Canislupaster
·
Published
2025-06-03
·
Updated
2026-04-14
·
CVE-2025-24015
CVSS v4.0
8.7
High
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
Deno versions 1.46.0 through 2.1.6
Description
The issue affects AES-256-GCM and AES-128-GCM in Deno, where 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. 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.
Recommendations
For Deno versions 1.46.0 through 2.1.6, update to version 2.1.7 or later to address the issue.
As a temporary workaround, consider disabling the use of AES-256-GCM and AES-128-GCM until a patch is available.
Restrict access to the affected
createCipheriv and createDecipheriv functions to minimize the risk of exploitation.
Avoid using the set aad function in the affected API endpoints until the issue is resolved.Exploit
Fix
Improper Verification of Cryptographic Signature
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Deno