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).
History

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: GitHub_M

Published: 2023-07-14T20:25:18.264Z

Updated: 2023-07-14T20:25:18.264Z

Reserved: 2023-07-06T13:01:36.997Z


Link: CVE-2023-37464

JSON object: View

cve-icon NVD Information

Status : Modified

Published: 2023-07-14T21:15:08.903

Modified: 2023-09-15T22:15:13.967


Link: CVE-2023-37464

JSON object: View

cve-icon Redhat Information

No data.

CWE