A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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).
Affected products
From the NVD's configuration data (CPE), vendor first.
- Cisco cjose
Weakness type
References
- datatracker.ietf.org /doc/html/rfc7518
- github.com /OpenIDC/cjose/commit/7325e9a5e71e2fc0e350487ecac7d84acdf0e…
- github.com /OpenIDC/cjose/releases/tag/v0.6.2.2
- github.com /OpenIDC/cjose/security/advisories/GHSA-3rhg-3gf2-6xgj
- lists.debian.org /debian-lts-announce/2023/08/msg00002.html
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/mes…
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/mes…
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/mes…
- www.debian.org /security/2023/dsa-5472
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning