CVE-2023-37464
Incorrect Authentication Tag length usage in AES GCM decryption in OpenIDC/cjose
Reported by github_m · Published July 14, 2023
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).
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| cjose | cisco | 0.6.2.2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| OpenIDC | cjose | < 0.6.2.2 |
| cisco | cjose | 0 |
| OpenIDC | cjose | 0 |
| alpine | cjose | 0 |
Timeline
- Jul 14, 2023 CVE Published
- Jul 15, 2023 EPSS Score (30 in total, the first dated here)
- Feb 4, 2026 CVE Updated
- Feb 10, 2026 Distribution Patch (8 in total, the first dated here)
- Feb 10, 2026 Security Advisory (9 in total, the first dated here)
- Aug 7, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-37464
vulnetix vdb fixes CVE-2023-37464
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-37464/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/OpenIDC/cjose/security/advisories/GHSA-3rhg-3gf2-6xgj x_refsource_CONFIRM
- https://github.com/OpenIDC/cjose/commit/7325e9a5e71e2fc0e350487ecac7d84acdf0ed5e x_refsource_MISC
- https://datatracker.ietf.org/doc/html/rfc7518#section-4.7 x_refsource_MISC
- https://github.com/OpenIDC/cjose/releases/tag/v0.6.2.2 x_refsource_MISC