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).
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
Debian | 12 | all | cjose | < 0.6.2.1-1+deb12u1 | cjose_0.6.2.1-1+deb12u1_all.deb |
Debian | 11 | all | cjose | < 0.6.1+dfsg1-1+deb11u1 | cjose_0.6.1+dfsg1-1+deb11u1_all.deb |
Debian | 999 | all | cjose | < 0.6.2.2-1 | cjose_0.6.2.2-1_all.deb |
Debian | 13 | all | cjose | < 0.6.2.2-1 | cjose_0.6.2.2-1_all.deb |