CVE-2023-37464 Incorrect Authentication Tag length usage in AES GCM decryption in OpenIDC/cjose
An attacker can modify encrypted data by exploiting incorrect authentication tag length validation in AES GCM decryption within the cjose library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-37464?
CVE-2023-37464 is a high-severity vulnerability in OpenIDC cjose, published on 14 Jul 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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).
Weakness: CWE-327
Which versions are affected by CVE-2023-37464?
It affects 1 product.
Linux distribution packages (40)
cjose AlmaLinux:8 | All versions | 0.6.1-3.module_el8.8.0+3591+c9939da8 |
cjose-devel AlmaLinux:8 | All versions | 0.6.1-3.module_el8.8.0+3591+c9939da8 |
mod_auth_openidc AlmaLinux:8 | All versions | 2.4.9.4-1.module_el8.7.0+3305+9a59f0c3 |
cjose AlmaLinux:9 | All versions | 0.6.1-13.el9_2.alma |
cjose Red Hat:enterprise_linux:8::appstream | All versions | 0:0.6.1-3.module+el8.8.0+19464+578f4546 |
cjose-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:0.6.1-3.module+el8.8.0+19464+578f4546 |
cjose-debugsource Red Hat:enterprise_linux:8::appstream | All versions | 0:0.6.1-3.module+el8.8.0+19464+578f4546 |
cjose-devel Red Hat:enterprise_linux:8::appstream | All versions | 0:0.6.1-3.module+el8.8.0+19464+578f4546 |
mod_auth_openidc Red Hat:enterprise_linux:8::appstream | All versions | 0:2.4.9.4-1.module+el8.7.0+14797+4085fcb6 |
mod_auth_openidc-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:2.4.9.4-1.module+el8.7.0+14797+4085fcb6 |
mod_auth_openidc-debugsource Red Hat:enterprise_linux:8::appstream | All versions | 0:2.4.9.4-1.module+el8.7.0+14797+4085fcb6 |
cjose Red Hat:enterprise_linux:9::appstream | All versions | 0:0.6.1-13.el9_2 |
cjose-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 0:0.6.1-13.el9_2 |
cjose-debugsource Red Hat:enterprise_linux:9::appstream | All versions | 0:0.6.1-13.el9_2 |
cjose Red Hat:rhel_aus:8.2::appstream | All versions | 0:0.6.1-3.module+el8.2.0+19461+3a40b6ee |
cjose-debuginfo Red Hat:rhel_aus:8.2::appstream | All versions | 0:0.6.1-3.module+el8.2.0+19461+3a40b6ee |
cjose-debugsource Red Hat:rhel_aus:8.2::appstream | All versions | 0:0.6.1-3.module+el8.2.0+19461+3a40b6ee |
cjose-devel Red Hat:rhel_aus:8.2::appstream | All versions | 0:0.6.1-3.module+el8.2.0+19461+3a40b6ee |
mod_auth_openidc Red Hat:rhel_aus:8.2::appstream | All versions | 0:2.3.7-4.module+el8.2.0+6919+ac02cfd2.3 |
mod_auth_openidc-debuginfo Red Hat:rhel_aus:8.2::appstream | All versions | 0:2.3.7-4.module+el8.2.0+6919+ac02cfd2.3 |
mod_auth_openidc-debugsource Red Hat:rhel_aus:8.2::appstream | All versions | 0:2.3.7-4.module+el8.2.0+6919+ac02cfd2.3 |
cjose Red Hat:rhel_aus:8.4::appstream | All versions | 0:0.6.1-3.module+el8.4.0+19462+14bde120 |
cjose-debuginfo Red Hat:rhel_aus:8.4::appstream | All versions | 0:0.6.1-3.module+el8.4.0+19462+14bde120 |
cjose-debugsource Red Hat:rhel_aus:8.4::appstream | All versions | 0:0.6.1-3.module+el8.4.0+19462+14bde120 |
cjose-devel Red Hat:rhel_aus:8.4::appstream | All versions | 0:0.6.1-3.module+el8.4.0+19462+14bde120 |
mod_auth_openidc Red Hat:rhel_aus:8.4::appstream | All versions | 0:2.3.7-8.module+el8.4.0+9707+f2438af7 |
mod_auth_openidc-debuginfo Red Hat:rhel_aus:8.4::appstream | All versions | 0:2.3.7-8.module+el8.4.0+9707+f2438af7 |
mod_auth_openidc-debugsource Red Hat:rhel_aus:8.4::appstream | All versions | 0:2.3.7-8.module+el8.4.0+9707+f2438af7 |
cjose Red Hat:rhel_e4s:8.1::appstream | All versions | 0:0.6.1-3.module+el8.1.0+19504+b2d26fa1 |
cjose-debuginfo Red Hat:rhel_e4s:8.1::appstream | All versions | 0:0.6.1-3.module+el8.1.0+19504+b2d26fa1 |
cjose-debugsource Red Hat:rhel_e4s:8.1::appstream | All versions | 0:0.6.1-3.module+el8.1.0+19504+b2d26fa1 |
cjose-devel Red Hat:rhel_e4s:8.1::appstream | All versions | 0:0.6.1-3.module+el8.1.0+19504+b2d26fa1 |
mod_auth_openidc Red Hat:rhel_e4s:8.1::appstream | All versions | 0:2.3.7-4.module+el8.1.0+19504+b2d26fa1.3 |
mod_auth_openidc-debuginfo Red Hat:rhel_e4s:8.1::appstream | All versions | 0:2.3.7-4.module+el8.1.0+19504+b2d26fa1.3 |
mod_auth_openidc-debugsource Red Hat:rhel_e4s:8.1::appstream | All versions | 0:2.3.7-4.module+el8.1.0+19504+b2d26fa1.3 |
cjose Red Hat:rhel_e4s:8.2::appstream | All versions | 0:0.6.1-3.module+el8.2.0+19461+3a40b6ee |
cjose-debuginfo Red Hat:rhel_e4s:8.2::appstream | All versions | 0:0.6.1-3.module+el8.2.0+19461+3a40b6ee |
cjose-debugsource Red Hat:rhel_e4s:8.2::appstream | All versions | 0:0.6.1-3.module+el8.2.0+19461+3a40b6ee |
cjose-devel Red Hat:rhel_e4s:8.2::appstream | All versions | 0:0.6.1-3.module+el8.2.0+19461+3a40b6ee |
mod_auth_openidc Red Hat:rhel_e4s:8.2::appstream | All versions | 0:2.3.7-4.module+el8.2.0+6919+ac02cfd2.3 |
Products include Cisco Cjose.
How do I fix CVE-2023-37464?
Upgrade to a fixed version.
Is CVE-2023-37464 being exploited?
There is no known exploitation of CVE-2023-37464 in the wild and no public exploit code.
Sources
Also known as ALSA-2023:4411, ALSA-2023:4418, AZL-27659, AZL-36936, CLEANSTART-2024-IV40707, DEBIAN-CVE-2023-37464 and 18 more.