CVE-2023-37464

Source
https://cve.org/CVERecord?id=CVE-2023-37464
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-37464.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-37464
Aliases
  • GHSA-3rhg-3gf2-6xgj
Downstream
Related
Published
2023-07-14T20:25:18.264Z
Modified
2026-05-17T03:54:42.624285072Z
Severity
  • 8.6 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N CVSS Calculator
Summary
Incorrect Authentication Tag length usage in AES GCM decryption in OpenIDC/cjose
Details

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).

Database specific
{
    "cwe_ids": [
        "CWE-327"
    ],
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/37xxx/CVE-2023-37464.json"
}
References

Affected packages