5.9
MEDIUM
CVE-2021-29444
"Jose-Browser-Runtime: Padding Oracle in AES_CBC_HMAC_SHA2 Decryption"
Description

jose-browser-runtime is an npm package which provides a number of cryptographic functions. In versions prior to 3.11.4 the AES_CBC_HMAC_SHA2 Algorithm (A128CBC-HS256, A192CBC-HS384, A256CBC-HS512) decryption would always execute both HMAC tag verification and CBC decryption, if either failed `JWEDecryptionFailed` would be thrown. But a possibly observable difference in timing when padding error would occur while decrypting the ciphertext makes a padding oracle and an adversary might be able to make use of that oracle to decrypt data without knowing the decryption key by issuing on average 128*b calls to the padding oracle (where b is the number of bytes in the ciphertext block). A patch was released which ensures the HMAC tag is verified before performing CBC decryption. The fixed versions are `>=3.11.4`. Users should upgrade to `^3.11.4`.

INFO

Published Date :

April 16, 2021, 10:15 p.m.

Last Modified :

March 21, 2023, 1:18 p.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

2.2
Affected Products

The following products are affected by CVE-2021-29444 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Jose-node-cjs-runtime_project jose-node-cjs-runtime
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-29444.

URL Resource
https://github.com/panva/jose/security/advisories/GHSA-94hh-pjjg-rwmr Third Party Advisory
https://www.npmjs.com/package/jose-browser-runtime Product Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-29444 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-29444 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Reanalysis by [email protected]

    Mar. 21, 2023

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:jose_project:jose:*:*:*:*:*:node.js:*:* versions up to (excluding) 3.11.4 OR *cpe:2.3:a:jose-node-cjs-runtime_project:jose-node-cjs-runtime:*:*:*:*:*:node.js:*:* versions up to (excluding) 3.11.4
  • Initial Analysis by [email protected]

    Apr. 23, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:P/I:N/A:N)
    Added CVSS V3.1 NIST AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
    Changed Reference Type https://github.com/panva/jose/security/advisories/GHSA-94hh-pjjg-rwmr No Types Assigned https://github.com/panva/jose/security/advisories/GHSA-94hh-pjjg-rwmr Third Party Advisory
    Changed Reference Type https://www.npmjs.com/package/jose-browser-runtime No Types Assigned https://www.npmjs.com/package/jose-browser-runtime Product, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:jose_project:jose:*:*:*:*:*:node.js:*:* versions up to (excluding) 3.11.4
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-29444 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-29444 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.15 }} 0.01%

score

0.50948

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability