CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality Impact
NONE
Integrity Impact
HIGH
Availability Impact
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
EPSS
Percentile
65.9%
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).
datatracker.ietf.org/doc/html/rfc7518#section-4.7
github.com/OpenIDC/cjose/commit/7325e9a5e71e2fc0e350487ecac7d84acdf0ed5e
github.com/OpenIDC/cjose/commit/7325e9a5e71e2fc0e350487ecac7d84acdf0ed5e (v0.6.2.2)
github.com/OpenIDC/cjose/releases/tag/v0.6.2.2
github.com/OpenIDC/cjose/security/advisories/GHSA-3rhg-3gf2-6xgj
launchpad.net/bugs/cve/CVE-2023-37464
nvd.nist.gov/vuln/detail/CVE-2023-37464
security-tracker.debian.org/tracker/CVE-2023-37464
ubuntu.com/security/notices/USN-6307-1
www.cve.org/CVERecord?id=CVE-2023-37464