gsd-2021-29444
Vulnerability from gsd
Modified
2023-12-13 01:23
Details
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`.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2021-29444", "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 `\u003e=3.11.4`. Users should upgrade to `^3.11.4`.", "id": "GSD-2021-29444" }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "CVE-2021-29444" ], "details": "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 `\u003e=3.11.4`. Users should upgrade to `^3.11.4`.", "id": "GSD-2021-29444", "modified": "2023-12-13T01:23:36.779209Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2021-29444", "STATE": "PUBLIC", "TITLE": "Padding Oracle Attack due to Observable Timing Discrepancy in jose-browser-runtime" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "jose", "version": { "version_data": [ { "version_value": "\u003c 3.11.4" } ] } } ] }, "vendor_name": "panva" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "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 `\u003e=3.11.4`. Users should upgrade to `^3.11.4`." } ] }, "impact": { "cvss": { "attackComplexity": "HIGH", "attackVector": "NETWORK", "availabilityImpact": "NONE", "baseScore": 5.9, "baseSeverity": "MEDIUM", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N", "version": "3.1" } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "{\"CWE-203\":\"Observable Discrepancy\"}" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/panva/jose/security/advisories/GHSA-94hh-pjjg-rwmr", "refsource": "CONFIRM", "url": "https://github.com/panva/jose/security/advisories/GHSA-94hh-pjjg-rwmr" }, { "name": "https://www.npmjs.com/package/jose-browser-runtime", "refsource": "MISC", "url": "https://www.npmjs.com/package/jose-browser-runtime" } ] }, "source": { "advisory": "GHSA-94hh-pjjg-rwmr", "discovery": "UNKNOWN" } }, "gitlab.com": { "advisories": [ { "affected_range": "\u003c3.11.4", "affected_versions": "All versions before 3.11.4", "cvss_v2": "AV:N/AC:M/Au:N/C:P/I:N/A:N", "cvss_v3": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N", "cwe_ids": [ "CWE-1035", "CWE-203", "CWE-937" ], "date": "2021-04-19", "description": "jose-browser-runtime is an npm package which provides a number of cryptographic functions.Users should upgrade to `^3.11.4`.", "fixed_versions": [ "3.11.4" ], "identifier": "CVE-2021-29444", "identifiers": [ "GHSA-94hh-pjjg-rwmr", "CVE-2021-29444" ], "not_impacted": "All versions starting from 3.11.4", "package_slug": "npm/jose-browser-runtime", "pubdate": "2021-04-19", "solution": "Upgrade to version 3.11.4 or above.", "title": "Observable Discrepancy", "urls": [ "https://github.com/panva/jose/security/advisories/GHSA-94hh-pjjg-rwmr", "https://www.npmjs.com/package/jose-browser-runtime", "https://nvd.nist.gov/vuln/detail/CVE-2021-29444", "https://github.com/advisories/GHSA-94hh-pjjg-rwmr" ], "uuid": "36be04a1-297b-49a1-9eda-a2ca66bc44a8" }, { "affected_range": "\u003c3.11.4", "affected_versions": "All versions before 3.11.4", "cvss_v2": "AV:N/AC:M/Au:N/C:P/I:N/A:N", "cvss_v3": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N", "cwe_ids": [ "CWE-1035", "CWE-203", "CWE-937" ], "date": "2021-04-23", "description": "jose-browser-runtime is an npm package which provides a number of cryptographic functions.", "fixed_versions": [ "3.11.4" ], "identifier": "CVE-2021-29444", "identifiers": [ "CVE-2021-29444", "GHSA-94hh-pjjg-rwmr" ], "not_impacted": "All versions starting from 3.11.4", "package_slug": "npm/jose", "pubdate": "2021-04-16", "solution": "Upgrade to version 3.11.4 or above.", "title": "Information Exposure Through Discrepancy", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2021-29444" ], "uuid": "59a26aa9-3b83-4e8a-a123-95b68fbe10d2" } ] }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:jose-node-cjs-runtime_project:jose-node-cjs-runtime:*:*:*:*:*:node.js:*:*", "cpe_name": [], "versionEndExcluding": "3.11.4", "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2021-29444" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "value": "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 `\u003e=3.11.4`. Users should upgrade to `^3.11.4`." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "CWE-203" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/panva/jose/security/advisories/GHSA-94hh-pjjg-rwmr", "refsource": "CONFIRM", "tags": [ "Third Party Advisory" ], "url": "https://github.com/panva/jose/security/advisories/GHSA-94hh-pjjg-rwmr" }, { "name": "https://www.npmjs.com/package/jose-browser-runtime", "refsource": "MISC", "tags": [ "Product", "Third Party Advisory" ], "url": "https://www.npmjs.com/package/jose-browser-runtime" } ] } }, "impact": { "baseMetricV2": { "acInsufInfo": false, "cvssV2": { "accessComplexity": "MEDIUM", "accessVector": "NETWORK", "authentication": "NONE", "availabilityImpact": "NONE", "baseScore": 4.3, "confidentialityImpact": "PARTIAL", "integrityImpact": "NONE", "vectorString": "AV:N/AC:M/Au:N/C:P/I:N/A:N", "version": "2.0" }, "exploitabilityScore": 8.6, "impactScore": 2.9, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "severity": "MEDIUM", "userInteractionRequired": false }, "baseMetricV3": { "cvssV3": { "attackComplexity": "HIGH", "attackVector": "NETWORK", "availabilityImpact": "NONE", "baseScore": 5.9, "baseSeverity": "MEDIUM", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N", "version": "3.1" }, "exploitabilityScore": 2.2, "impactScore": 3.6 } }, "lastModifiedDate": "2023-03-21T13:18Z", "publishedDate": "2021-04-16T22:15Z" } } }
Loading...
Loading...
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.