Vulnerability in Cisco Cjose
CVE-2023-37464
OpenIDC/cjose is a C library implementing the Javascript Object Signing and Encryption (JOSE). The AES GCM decryption routine incorrectly uses the Tag length from the actual Authentication Tag provided in the JWE. The spec says that a fixed length of 16 octets must be applied. Therefore this bug allows an attacker to provide a truncated Authentication Tag and to modify the JWE accordingly. Users should upgrade to a version >= 0.6.2.2. Users unable to upgrade should avoid using AES GCM encryption and replace it with another encryption algorithm (e.g. AES CBC).
Vulnerability class: POODLE (CVE-2014-3566)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.6 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.007, 54.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Cisco Cjose
- Openidc Cjose — versions < 0.6.2.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (EGI-Federation/SVG-advisories, fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/OpenIDC/cjose/security/advisories/GHSA-3rhg-3gf2-6xgj (Exploit, Patch, Vendor Advisory)
- https://github.com/OpenIDC/cjose/commit/7325e9a5e71e2fc0e350487ecac7d84acdf0ed5e (Patch)
- https://datatracker.ietf.org/doc/html/rfc7518#section-4.7 (Third Party Advisory)
- https://github.com/OpenIDC/cjose/releases/tag/v0.6.2.2 (Release Notes)
- lists.debian.org/debian-lts-announce/2023/08/msg00002.html
- www.debian.org/security/2023/dsa-5472
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…