Skip to content

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

HighCVSS 7.5 EPSS 0.71%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebianNetwork AppliancesCisco

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

Upgrade path

18 packages: 13 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/cjose(Ubuntu 24.04) = 0.6.2.2-1; = 0.6.2.2-1build1; = 0.6.2.2-1build2; = 0.6.2.2-1build3 +1 more No fix listed No fix yet
ubuntu/cjose(Ubuntu 25.10) = 0.6.2.3-1; All versions No fix listed No fix yet
ubuntu/cjose(Ubuntu 26.04) = 0.6.2.3-1; = 0.6.2.4-1; All versions No fix listed No fix yet
ubuntu/cjose(Ubuntu 26.10) = 0.6.2.4-1; = 0.6.2.8-1; All versions No fix listed No fix yet
alpine/cjose(Alpine v3.19) < 0.6.2.2-r0 0.6.2.2-r0 Fixed
alpine/cjose(Alpine v3.20) < 0.6.2.2-r0 0.6.2.2-r0 Fixed
alpine/cjose(Alpine v3.21) < 0.6.2.2-r0 0.6.2.2-r0 Fixed
alpine/cjose(Alpine v3.22) < 0.6.2.2-r0 0.6.2.2-r0 Fixed
alpine/cjose(Alpine v3.23) < 0.6.2.2-r0 0.6.2.2-r0 Fixed
alpine/cjose(Alpine v3.24) < 0.6.2.2-r0 0.6.2.2-r0 Fixed
cisco cjose < 0.6.2.2 0.6.2.2 Fixed
debian/cjose(Debian 12) < 0.6.2.1-1+deb12u1; = 0.6.2.1-1 0.6.2.1-1+deb12u1 Fixed
debian/cjose(Debian 13) < 0.6.2.2-1 0.6.2.2-1 Fixed
debian/cjose(Debian 14) < 0.6.2.2-1 0.6.2.2-1 Fixed
ubuntu/cjose(Ubuntu 20.04) < 0.6.1+dfsg1-1ubuntu0.1; = 0.6.1+dfsg1-1 0.6.1+dfsg1-1ubuntu0.1 Fixed
ubuntu/cjose(Ubuntu 22.04) < 0.6.1+dfsg1-3ubuntu1.1; = 0.6.1+dfsg1-1; = 0.6.1+dfsg1-3; = 0.6.1+dfsg1-3ubuntu1 0.6.1+dfsg1-3ubuntu1.1 Fixed
ubuntu/cjose(Ubuntu Pro 18.04) < 0.6.0+dfsg1-1ubuntu0.1~esm1; = 0.4.1-3ubuntu1; = 0.5.1+dfsg1-1; = 0.5.1+dfsg1-2 +2 more 0.6.0+dfsg1-1ubuntu0.1~esm1 Fixed
OpenIDC cjose = < 0.6.2.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/cjose(Debian:12) < 0.6.2.1-1+deb12u1 0.6.2.1-1+deb12u1
debian/cjose(Debian:12) = 0.6.2.1-1 No fix listed
debian/cjose(Debian:13) < 0.6.2.2-1 0.6.2.2-1
debian/cjose(Debian:14) < 0.6.2.2-1 0.6.2.2-1
OpenIDC cjose = < 0.6.2.2 No fix listed
cisco cjose < 0.6.2.2 0.6.2.2
ubuntu/cjose(Ubuntu:22.04) < 0.6.1+dfsg1-3ubuntu1.1 0.6.1+dfsg1-3ubuntu1.1
alpine/cjose(Alpine:v3.19) < 0.6.2.2-r0 0.6.2.2-r0
alpine/cjose(Alpine:v3.20) < 0.6.2.2-r0 0.6.2.2-r0
alpine/cjose(Alpine:v3.21) < 0.6.2.2-r0 0.6.2.2-r0
alpine/cjose(Alpine:v3.22) < 0.6.2.2-r0 0.6.2.2-r0
alpine/cjose(Alpine:v3.23) < 0.6.2.2-r0 0.6.2.2-r0
alpine/cjose(Alpine:v3.24) < 0.6.2.2-r0 0.6.2.2-r0
ubuntu/cjose(Ubuntu:24.04) All versions No fix listed
ubuntu/cjose(Ubuntu:26.04) All versions No fix listed
ubuntu/cjose(Ubuntu:26.10) All versions No fix listed
ubuntu/cjose(Ubuntu:Pro:18.04) < 0.6.0+dfsg1-1ubuntu0.1~esm1 0.6.0+dfsg1-1ubuntu0.1~esm1
ubuntu/cjose(Ubuntu:Pro:18.04) = 0.4.1-3ubuntu1 No fix listed
ubuntu/cjose(Ubuntu:Pro:18.04) = 0.5.1+dfsg1-1 No fix listed
ubuntu/cjose(Ubuntu:Pro:18.04) = 0.5.1+dfsg1-2 No fix listed
ubuntu/cjose(Ubuntu:Pro:18.04) = 0.5.1+dfsg1-2build1 No fix listed
ubuntu/cjose(Ubuntu:Pro:18.04) = 0.6.0+dfsg1-1 No fix listed
ubuntu/cjose(Ubuntu:20.04) < 0.6.1+dfsg1-1ubuntu0.1 0.6.1+dfsg1-1ubuntu0.1
ubuntu/cjose(Ubuntu:20.04) = 0.6.1+dfsg1-1 No fix listed
ubuntu/cjose(Ubuntu:22.04) = 0.6.1+dfsg1-1 No fix listed
Show 12 more
ProductAffected versionsFixed in
ubuntu/cjose(Ubuntu:22.04) = 0.6.1+dfsg1-3 No fix listed
ubuntu/cjose(Ubuntu:22.04) = 0.6.1+dfsg1-3ubuntu1 No fix listed
ubuntu/cjose(Ubuntu:24.04) = 0.6.2.2-1 No fix listed
ubuntu/cjose(Ubuntu:24.04) = 0.6.2.2-1build1 No fix listed
ubuntu/cjose(Ubuntu:24.04) = 0.6.2.2-1build2 No fix listed
ubuntu/cjose(Ubuntu:24.04) = 0.6.2.2-1build3 No fix listed
ubuntu/cjose(Ubuntu:25.10) All versions No fix listed
ubuntu/cjose(Ubuntu:25.10) = 0.6.2.3-1 No fix listed
ubuntu/cjose(Ubuntu:26.10) = 0.6.2.4-1 No fix listed
ubuntu/cjose(Ubuntu:26.10) = 0.6.2.8-1 No fix listed
ubuntu/cjose(Ubuntu:26.04) = 0.6.2.3-1 No fix listed
ubuntu/cjose(Ubuntu:26.04) = 0.6.2.4-1 No fix listed

References