CVE-2023-37464

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

CVE-2023-37464 is fixed in 4 products on 1 platform, first by libcjose0 0.6.0+dfsg1-1ubuntu0.1~esm1, released July 14, 2023. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.5
high
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0071
53rd percentile

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

Where it's fixed

ProductFixed inFixReleased
Linux
cjose · Debian 11.6 (bullseye) 0.6.1+dfsg1-1+deb11u1 DSA-5472-1 Aug 8, 2023
cjose · Debian 12.15 (bookworm) 0.6.2.1-1+deb12u1 DSA-5472-1 Aug 8, 2023
cjose · Debian 13.5 (trixie) 0.6.2.2-1 DEBIAN-CVE-2023-37464 Jul 14, 2023
cjose · Debian 14 0.6.2.2-1 DEBIAN-CVE-2023-37464 Jul 14, 2023
cjose · RHEL 8 0:0.6.1-3.module+el8.8.0+19464+578f4546 RHSA-2023:4418 Aug 1, 2023
cjose · RHEL 9 0:0.6.1-13.el9_2 RHSA-2023:4411 Aug 1, 2023
cjose · almalinux 8 0.6.1-3.module_el8.8.0+3591+c9939da8 ALSA-2023:4418 Aug 1, 2023
cjose · almalinux 9 0.6.1-13.el9_2.alma ALSA-2023:4411 Aug 1, 2023
cjose · ol 8 0:0.6.1-3.module+el8.8.0+21137+b6cedbc2 ELSA-2023-4418 Aug 2, 2023
cjose · ol 9 0:0.6.1-13.el9_2 ELSA-2023-4411 Aug 2, 2023
cjose · rocky 8 0:0.6.1-3.module+el8.8.0+1406+4a7f5371 RLSA-2023:4418 Aug 8, 2023
cjose-devel · RHEL 8 0:0.6.1-3.module+el8.8.0+19464+578f4546 RHSA-2023:4418 Aug 1, 2023
cjose-devel · almalinux 8 0.6.1-3.module_el8.8.0+3591+c9939da8 ALSA-2023:4418 Aug 1, 2023
cjose-devel · ol 8 0:0.6.1-3.module+el8.8.0+21137+b6cedbc2 ELSA-2023-4418 Aug 2, 2023
libcjose0 · Ubuntu 18.04.6 LTS (bionic) 0.6.0+dfsg1-1ubuntu0.1~esm1 libcjose0 0.6.0+dfsg1-1ubuntu0.1~esm1 Jul 14, 2023
libcjose0 · Ubuntu 20.04 LTS (focal) 0.6.1+dfsg1-1ubuntu0.1 libcjose0 0.6.1+dfsg1-1ubuntu0.1 Jul 14, 2023
libcjose0 · Ubuntu 22.04.1 LTS (jammy) 0.6.1+dfsg1-3ubuntu1.1 libcjose0 0.6.1+dfsg1-3ubuntu1.1 Jul 14, 2023
mod_auth_openidc · RHEL 8 0:2.4.9.4-1.module+el8.7.0+14797+4085fcb6 RHSA-2023:4418 Aug 1, 2023
mod_auth_openidc · almalinux 8 2.4.9.4-1.module_el8.7.0+3305+9a59f0c3 ALSA-2023:4418 Aug 1, 2023
mod_auth_openidc · ol 8 0:2.4.9.4-1.module+el8.7.0+20769+fca4d9d0 ELSA-2023-4418 Aug 2, 2023
mod_auth_openidc · rocky 8 0:2.4.9.4-1.module+el8.7.0+1061+55d14382 RLSA-2023:4418 Aug 8, 2023

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.