CVEfocus › CVE database › CVE-2023-37464

CVE-2023-37464Incorrect Authentication Tag length usage in AES GCM decryption in OpenIDC/cjose

CVSS 8.6 HighEPSS 0.8% (higher than 53% of CVEs)Published 2023-07-14Updated 2025-02-13Assigner: GitHub_M

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

CWE-327

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

21Fixed
2Fix pending
2Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10cjoseFix pendingUBUNTU-CVE-2023-37464
Ubuntu 26.04cjoseUnder investigationUBUNTU-CVE-2023-37464
Ubuntu 25.10cjoseWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-37464
Ubuntu 24.04cjoseUnder investigationUBUNTU-CVE-2023-37464
Ubuntu 22.04cjoseFixed0.6.1+dfsg1-3ubuntu1.1UBUNTU-CVE-2023-37464
Ubuntu 20.04cjoseFixed0.6.1+dfsg1-1ubuntu0.1UBUNTU-CVE-2023-37464
Ubuntu 18.04cjoseFix pending0.6.0+dfsg1-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-37464
Debian 14cjoseFixed0.6.2.2-1DEBIAN-CVE-2023-37464
Debian 13cjoseFixed0.6.2.2-1DEBIAN-CVE-2023-37464
Debian 12cjoseFixed0.6.2.1-1+deb12u1DEBIAN-CVE-2023-37464
Red Hat Enterprise Linux 9cjoseFixed0:0.6.1-13.el9_2RHSA-2023:4411
Red Hat Enterprise Linux 8cjoseFixed0:0.6.1-3.module+el8.8.0+19464+578f4546RHSA-2023:4418
Red Hat Enterprise Linux 8cjose-develFixed0:0.6.1-3.module+el8.8.0+19464+578f4546RHSA-2023:4418
Red Hat Enterprise Linux 8mod_auth_openidcFixed0:2.4.9.4-1.module+el8.7.0+14797+4085fcb6RHSA-2023:4418
AlmaLinux 9cjoseFixed0.6.1-13.el9_2.almaALSA-2023:4411
AlmaLinux 8cjoseFixed0.6.1-3.module_el8.8.0+3591+c9939da8ALSA-2023:4418
AlmaLinux 8cjose-develFixed0.6.1-3.module_el8.8.0+3591+c9939da8ALSA-2023:4418
AlmaLinux 8mod_auth_openidcFixed2.4.9.4-1.module_el8.7.0+3305+9a59f0c3ALSA-2023:4418
Rocky Linux 8cjoseFixed0:0.6.1-3.module+el8.8.0+1406+4a7f5371RLSA-2023:4418
Rocky Linux 8mod_auth_openidcFixed0:2.4.9.4-1.module+el8.7.0+1061+55d14382RLSA-2023:4418
Alpine Linux 3.24cjoseFixed0.6.2.2-r0ALPINE-CVE-2023-37464
Alpine Linux 3.23cjoseFixed0.6.2.2-r0ALPINE-CVE-2023-37464
Alpine Linux 3.22cjoseFixed0.6.2.2-r0ALPINE-CVE-2023-37464
Alpine Linux 3.21cjoseFixed0.6.2.2-r0ALPINE-CVE-2023-37464
Alpine Linux 3.20cjoseFixed0.6.2.2-r0ALPINE-CVE-2023-37464
Alpine Linux 3.19cjoseFixed0.6.2.2-r0ALPINE-CVE-2023-37464

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.