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).
CVSS Details
- CVSS 3.1 Base Score: 8.6
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade cjose-develUpgrade mod_auth_openidcUpgrade cjose | Aug 3, 2023 | Jul 14, 2023 |
| Alpine Linux | — | Upgrade cjose | Aug 22, 2024 | Jul 14, 2023 |
| Centos_linux | — | Upgrade cjose-develUpgrade mod_auth_openidcUpgrade cjose-debuginfoUpgrade cjoseUpgrade mod_auth_openidc-debuginfoUpgrade mod_auth_openidc-debugsourceUpgrade cjose-debugsource | Aug 2, 2023 | Jul 14, 2023 |
| Debian | — | Upgrade cjose | Aug 8, 2023 | Jul 14, 2023 |
| Oracle_linux | — | Upgrade mod_auth_openidcUpgrade cjoseUpgrade cjose-devel | Aug 3, 2023 | Jul 14, 2023 |
| Redhat_linux | — | Upgrade cjose-develUpgrade mod_auth_openidc-debuginfoUpgrade mod_auth_openidc-debugsourceUpgrade mod_auth_openidcUpgrade cjoseUpgrade cjose-debugsourceUpgrade cjose-debuginfo | Aug 2, 2023 | Jul 14, 2023 |
| Rocky_linux | — | Upgrade cjose-debugsourceUpgrade cjoseUpgrade mod_auth_openidc-debugsourceUpgrade cjose-debuginfoUpgrade cjose-develUpgrade mod_auth_openidcUpgrade mod_auth_openidc-debuginfo | Mar 5, 2024 | Jul 14, 2023 |
| Suse | — | Upgrade libcjose-develUpgrade libcjose0 | Aug 1, 2023 | Jul 14, 2023 |
| Ubuntu | — | Upgrade libcjose0Upgrade libcjose0 (Ubuntu Pro) | Aug 28, 2023 | Jul 14, 2023 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub