PT-2023-25978 · Unknown+7 · Openidc/Cjose+7
Zandbelt
·
Published
2023-07-14
·
Updated
2023-12-18
·
CVE-2023-37464
CVSS v3.1
8.6
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
OpenIDC/cjose versions prior to 0.6.2.2
Description
The AES GCM decryption routine in OpenIDC/cjose incorrectly uses the Tag length from the actual Authentication Tag provided in the JWE, instead of the fixed length of 16 octets specified in the spec. This allows an attacker to provide a truncated Authentication Tag and modify the JWE accordingly.
Recommendations
For versions prior to 0.6.2.2, upgrade to a version >= 0.6.2.2.
For users unable to upgrade, avoid using AES GCM encryption and replace it with another encryption algorithm, such as AES CBC.
Exploit
Fix
Use of a Broken Cryptographic Algorithm
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Almalinux
Centos
Linuxmint
Openidc/Cjose
Red Hat
Rocky Linux
Suse
Ubuntu