Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2021-29446— Padding Oracle Attack due to Observable Timing Discrepancy in jose-node-cjs-runtime

Quick assessment

Affected
panva jose-node-cjs-runtime
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

npm jose-node-cjs-runtime是美国npm公司的一个应用软件。提供jose具有较小捆绑/安装尺寸的发行版。 jose-node-cjs-runtime 在3.11.4之前版本存在安全漏洞,该漏洞源于解密密文时出现填充错误的时间上可能存在一个明显的差异。

CVSS 5.9 · Medium EPSS 1.07% · P64

Possible ATT&CK Techniques 1 AI

T1555 · Credentials from Password Stores
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-29446

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Padding Oracle Attack due to Observable Timing Discrepancy in jose-node-cjs-runtime
Source: CVE Program / CVE List V5
Vulnerability Description
jose-node-cjs-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`.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
通过差异性导致的信息暴露
Source: CVE Program / CVE List V5
Vulnerability Title
jose-node-cjs-runtime 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
npm jose-node-cjs-runtime是美国npm公司的一个应用软件。提供jose具有较小捆绑/安装尺寸的发行版。 jose-node-cjs-runtime 在3.11.4之前版本存在安全漏洞,该漏洞源于解密密文时出现填充错误的时间上可能存在一个明显的差异。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
panva jose-node-cjs-runtime < 3.11.4 -

II. Public POCs for CVE-2021-29446

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-29446

请登录查看更多情报信息。

Vendor Advisories for CVE-2021-29446 (1)

Other References for CVE-2021-29446 (1)

Same Patch Batch · panva · 2021-04-16 · 4 CVEs total

CVE-2021-29443 5.9 MEDIUM Padding Oracle Attack due to Observable Timing Discrepancy in jose
CVE-2021-29444 5.9 MEDIUM Padding Oracle Attack due to Observable Timing Discrepancy in jose-browser-runtime
CVE-2021-29445 5.9 MEDIUM Padding Oracle Attack due to Observable Timing Discrepancy in jose-node-esm-runtime

IV. Related Vulnerabilities

V. Comments for CVE-2021-29446

No comments yet


Leave a comment