CVE-2023-37464
Publication date 14 July 2023
Last updated 24 July 2024
Ubuntu priority
Cvss 3 Severity Score
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).
Status
Package | Ubuntu Release | Status |
---|---|---|
cjose | 24.10 oracular |
Needs evaluation
|
24.04 LTS noble |
Needs evaluation
|
|
22.04 LTS jammy |
Fixed 0.6.1+dfsg1-3ubuntu1.1
|
|
20.04 LTS focal |
Fixed 0.6.1+dfsg1-1ubuntu0.1
|
|
18.04 LTS bionic |
Fixed 0.6.0+dfsg1-1ubuntu0.1~esm1
|
|
16.04 LTS xenial | Ignored end of standard support | |
14.04 LTS trusty | Ignored end of standard support |
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu ProSeverity score breakdown
Parameter | Value |
---|---|
Base score | 7.5 · High |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | None |
Integrity impact | High |
Availability impact | None |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
References
Related Ubuntu Security Notices (USN)
- USN-6307-1
- JOSE for C/C++ vulnerability
- 24 August 2023
Other references
- https://github.com/OpenIDC/cjose/security/advisories/GHSA-3rhg-3gf2-6xgj
- https://github.com/OpenIDC/cjose/commit/7325e9a5e71e2fc0e350487ecac7d84acdf0ed5e (v0.6.2.2)
- https://github.com/OpenIDC/cjose/commit/7325e9a5e71e2fc0e350487ecac7d84acdf0ed5e
- https://datatracker.ietf.org/doc/html/rfc7518#section-4.7
- https://github.com/OpenIDC/cjose/releases/tag/v0.6.2.2
- https://www.cve.org/CVERecord?id=CVE-2023-37464