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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2021-29443— Padding Oracle Attack due to Observable Timing Discrepancy in jose

Quick assessment

Affected
panva jose
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是美国npm公司的一个应用软件。使用本机加密运行时不依赖项的JWA,JWS,JWE,JWT,JWK。 jose 存在安全漏洞,该漏洞源于当填充oracle解密密文时,填充错误可能会发生。

CVSS 5.9 · Medium EPSS 1.17% · P67

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-29443

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
Source: CVE Program / CVE List V5
Vulnerability Description
jose is an npm library providing a number of cryptographic operations. In vulnerable versions 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. 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). All major release versions have had a patch released which ensures the HMAC tag is verified before performing CBC decryption. The fixed versions are `^1.28.1 || ^2.0.5 || >=3.11.4`. Users should upgrade their v1.x dependency to ^1.28.1, their v2.x dependency to ^2.0.5, and their v3.x dependency to ^3.11.4. Thanks to Jason from Microsoft Vulnerability Research (MSVR) for bringing this up and Eva Sarafianou (@esarafianou) for helping to score this advisory.
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 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
npm jose是美国npm公司的一个应用软件。使用本机加密运行时不依赖项的JWA,JWS,JWE,JWT,JWK。 jose 存在安全漏洞,该漏洞源于当填充oracle解密密文时,填充错误可能会发生。
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 < 1.28.1 -

II. Public POCs for CVE-2021-29443

# 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-29443

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

Vendor Advisories for CVE-2021-29443 (1)

Other References for CVE-2021-29443 (1)

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

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
CVE-2021-29446 5.9 MEDIUM Padding Oracle Attack due to Observable Timing Discrepancy in jose-node-cjs-runtime

IV. Related Vulnerabilities

V. Comments for CVE-2021-29443

No comments yet


Leave a comment