Vulnerability 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).
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Cisco | Cjose | < 0.6.2.2 |
Related Weaknesses (CWE)
References
- https://datatracker.ietf.org/doc/html/rfc7518#section-4.7Third Party Advisory
- https://github.com/OpenIDC/cjose/commit/7325e9a5e71e2fc0e350487ecac7d84acdf0ed5ePatch
- https://github.com/OpenIDC/cjose/releases/tag/v0.6.2.2Release Notes
- https://github.com/OpenIDC/cjose/security/advisories/GHSA-3rhg-3gf2-6xgjExploitPatchVendor Advisory
- https://lists.debian.org/debian-lts-announce/2023/08/msg00002.html
- https://lists.fedoraproject.org/archives/list/[email protected]
- https://lists.fedoraproject.org/archives/list/[email protected]
- https://lists.fedoraproject.org/archives/list/[email protected]
- https://www.debian.org/security/2023/dsa-5472
- https://datatracker.ietf.org/doc/html/rfc7518#section-4.7Third Party Advisory
- https://github.com/OpenIDC/cjose/commit/7325e9a5e71e2fc0e350487ecac7d84acdf0ed5ePatch
- https://github.com/OpenIDC/cjose/releases/tag/v0.6.2.2Release Notes
- https://github.com/OpenIDC/cjose/security/advisories/GHSA-3rhg-3gf2-6xgjExploitPatchVendor Advisory
- https://lists.debian.org/debian-lts-announce/2023/08/msg00002.html
- https://lists.fedoraproject.org/archives/list/[email protected]
FAQ
What is CVE-2023-37464?
CVE-2023-37464 is a vulnerability with a CVSS score of 8.6 (HIGH). 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 provide...
How severe is CVE-2023-37464?
CVE-2023-37464 has been rated HIGH with a CVSS base score of 8.6/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-37464?
Check the references section above for vendor advisories and patch information. Affected products include: Cisco Cjose.