CVE-2021-29445
JavaScript vulnerability analysis and mitigation

Overview

The CVE-2021-29445 affects jose-node-esm-runtime npm package versions prior to 3.11.4. The vulnerability was discovered and disclosed in April 2021, impacting the AESCBCHMAC_SHA2 Algorithm (A128CBC-HS256, A192CBC-HS384, A256CBC-HS512) implementation in the package (GitHub Advisory).

Technical details

The vulnerability exists in the decryption process where both HMAC tag verification and CBC decryption are executed, with a JWEDecryptionFailed error thrown if either fails. The key issue is an observable timing difference when padding errors occur during ciphertext decryption, creating a padding oracle vulnerability. The CVSS score is 5.9 (Medium) with a vector string of CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N (GitHub Advisory).

Impact

An adversary could potentially exploit this vulnerability to decrypt data without knowing the decryption key. This is achieved by making approximately 128*b calls to the padding oracle, where b represents the number of bytes in the ciphertext block (GitHub Advisory).

Mitigation and workarounds

A patch was released in version 3.11.4 which ensures the HMAC tag is verified before performing CBC decryption. Users are advised to upgrade to version ^3.11.4 or later to address this vulnerability (GitHub Advisory).

Community reactions

The vulnerability was identified by Morgan Brown of Microsoft, and Eva Sarafianou (@esarafianou) assisted in scoring the advisory (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-67731HIGH8.7
  • JavaScriptJavaScript
  • servify-express
NoYesDec 12, 2025
CVE-2025-67718HIGH8.7
  • JavaScriptJavaScript
  • formio
NoYesDec 11, 2025
CVE-2025-8083HIGH8.6
  • JavaScriptJavaScript
  • vuetify
NoYesDec 12, 2025
CVE-2025-67750HIGH8.4
  • JavaScriptJavaScript
  • lightning-flow-scanner
NoYesDec 12, 2025
CVE-2025-8082MEDIUM6.3
  • JavaScriptJavaScript
  • vuetify
NoYesDec 12, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management