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

Configuration 1 (hide)

cpe:2.3:a:cisco:cjose:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2023-07-14 21:15

Updated : 2023-09-15 22:15


NVD link : CVE-2023-37464

Mitre link : CVE-2023-37464

CVE.ORG link : CVE-2023-37464


JSON object : View

Products Affected

cisco

  • cjose
CWE
CWE-327

Use of a Broken or Risky Cryptographic Algorithm