Vulnerabilities · 2023 · Cisco
CVE-2023-37464
Cisco Cjose vulnerability
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
Cjose. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Cisco Cjose runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/OpenIDC/cjose/security/advisories/GHSA-3rhg-3gf2-6xgj · Exploit
- github.com/OpenIDC/cjose/commit/7325e9a5e71e2fc0e350487ecac7d84acdf0ed5e · Patch
- datatracker.ietf.org/doc/html/rfc7518#section-4.7 · Third Party Advisory
- github.com/OpenIDC/cjose/releases/tag/v0.6.2.2
- lists.debian.org/debian-lts-announce/2023/08/msg00002.html
- lists.fedoraproject.org/archives/list/[email protected]/message/DFW
- lists.fedoraproject.org/archives/list/[email protected]/message/LCQ
- lists.fedoraproject.org/archives/list/[email protected]/message/PTZ
- nvd.nist.gov/vuln/detail/CVE-2023-37464
- cve.org/CVERecord?id=CVE-2023-37464
More vulnerabilities in Cisco products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.