Skip to main content
← All vulnerabilities
CVE-2023-37464

Incorrect Authentication Tag length usage in AES GCM decryption in OpenIDC/cjose

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.6.2.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • OpenIDC cjose

    fixed in 0.6.2.2

References 9

GitHub · OpenIDC/cjose

datatracker.ietf.org

lists.debian.org

debian.org

lists.fedoraproject.org