CVE Catalog

CVE-2023-37464

HighCVSS 8.6
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.61%

44th percentile - higher than 44% of all known CVEs

Summary

The OpenIDC/cjose library has a bug in the AES GCM decryption routine that incorrectly uses the Tag length from the actual Authentication Tag. This allows an attacker to provide a truncated Authentication Tag and modify the JWE.

Risk Assessment

Organizations may be vulnerable to attacks exploiting this bug to manipulate JWE data, potentially leading to unauthorized access or information disclosure.

Recommendation

It is recommended to upgrade to version >= 0.6.2.2. Users unable to upgrade should avoid using AES GCM encryption and replace it with another encryption algorithm, such as AES CBC.

Related vulnerabilities

Original NVD description (English source)

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 data from NVD (NIST) · CISA KEV · EPSS