CVE-2023-37464
HIGHCisco Cjose < 0.6.2.2 - Broken Cryptographic Algorithm
Title source: ruleDescription
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).
References (9)
Core 9
Core References
Mailing List, Third Party Advisory
https://lists.fedoraproject.org/archives/list/[email protected]/message/DFWAPMYYVBO2U65HPYDTBEKNSXG4TP5C/
Mailing List, Third Party Advisory
https://lists.fedoraproject.org/archives/list/[email protected]/message/LCQJXKDPCWCXB2V4JMQ3UWYJ4UIBPUW6/
Mailing List, Third Party Advisory
https://lists.fedoraproject.org/archives/list/[email protected]/message/PTZHOVGY7AHGNMEY245HK4Q36AMA53AL/
Third Party Advisory
https://www.debian.org/security/2023/dsa-5472
Exploit, Patch, Vendor Advisory x_refsource_confirm
https://github.com/OpenIDC/cjose/security/advisories/GHSA-3rhg-3gf2-6xgj
Patch x_refsource_misc
https://github.com/OpenIDC/cjose/commit/7325e9a5e71e2fc0e350487ecac7d84acdf0ed5e
Third Party Advisory x_refsource_misc
https://datatracker.ietf.org/doc/html/rfc7518#section-4.7
Release Notes x_refsource_misc
https://github.com/OpenIDC/cjose/releases/tag/v0.6.2.2
Scores
CVSS v3
8.6
EPSS
0.0019
EPSS Percentile
40.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-327
Status
published
Products (1)
cisco/cjose
< 0.6.2.2
Published
Jul 14, 2023
Tracked Since
Feb 18, 2026