• 公告ID (KylinSec-SA-2024-4182)

摘要:

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

安全等级: Low

公告ID: KylinSec-SA-2024-4182

发布日期: 2024年11月29日

关联CVE: CVE-2023-37464  

  • 详细介绍

1. 漏洞描述

   

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

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2023-37464 KY3.4-5A mod_auth_openidc Unaffected
CVE-2023-37464 KY3.5.2 mod_auth_openidc Unaffected
CVE-2023-37464 V6 mod_auth_openidc Unaffected

3. 影响组件

    无

4. 修复版本

    无

5. 修复方法

   无

6. 下载链接

    无
上一篇:KylinSec-SA-2024-4181 下一篇:KylinSec-SA-2024-4226