CVE-2021-29444
JavaScript vulnerability analysis and mitigation

Overview

jose-browser-runtime is an npm package which provides cryptographic functions. A padding oracle vulnerability (CVE-2021-29444) was discovered in versions prior to 3.11.4, affecting the AESCBCHMAC_SHA2 Algorithm (A128CBC-HS256, A192CBC-HS384, A256CBC-HS512) decryption process. The vulnerability was disclosed on April 15, 2021 (GitHub Advisory).

Technical details

The vulnerability stems from an observable timing discrepancy during the decryption process. The implementation would execute both HMAC tag verification and CBC decryption, regardless of failure state, before throwing a JWEDecryptionFailed error. This timing difference during padding error occurrence creates a padding oracle that could be exploited (GitHub Advisory). The vulnerability has been assigned a CVSS v3.1 score of 5.9 (Moderate) with a vector of CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.

Impact

An adversary could potentially exploit this padding oracle to decrypt data without possessing the decryption key. The attack would require on average 128*b calls to the padding oracle, where b represents the number of bytes in the ciphertext block. This could lead to unauthorized access to encrypted data, compromising confidentiality (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 3.11.4 and later. The fix ensures that HMAC tag verification is performed before CBC decryption. Users are strongly advised to upgrade to version 3.11.4 or later to address this vulnerability (GitHub Advisory).

Community reactions

The vulnerability was discovered and reported by Morgan Brown of Microsoft, with Eva Sarafianou (@esarafianou) contributing to the advisory's scoring (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-65513HIGH7.5
  • JavaScriptJavaScript
  • mcp-fetch-server
NoNoDec 09, 2025
CVE-2025-67716MEDIUM5.7
  • JavaScriptJavaScript
  • @auth0/nextjs-auth0
NoYesDec 11, 2025
CVE-2025-67490MEDIUM5.4
  • JavaScriptJavaScript
  • @auth0/nextjs-auth0
NoYesDec 10, 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