Lucene search

K
prionPRIOn knowledge basePRION:CVE-2023-37464
HistoryJul 14, 2023 - 9:15 p.m.

Authentication flaw

2023-07-1421:15:00
PRIOn knowledge base
www.prio-n.com
7
openidc
cjose
c library
authentication flaw
aes gcm
jwe
upgrade
version 0.6.2.2
encryption algorithm

7.2 High

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

48.9%

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

CPENameOperatorVersion
cjoselt0.6.2.2