• 公告ID (KylinSec-SA-2023-1197)

摘要:

Gradle is a build tool with a focus on build automation and support for multi-language development. This is a collision attack on long IDs (64bits) for PGP keys. Users of dependency verification in Gradle are vulnerable if they use long IDs for PGP keys in a `trusted-key` or `pgp` element in their dependency verification metadata file. The fix is to fail dependency verification if anything but a fingerprint is used in a trust element in dependency verification metadata. The problem is fixed in Gradle 8.0 and above. The problem is also patched in Gradle 6.9.4 and 7.6.1. As a workaround, use only full fingerprint IDs for `trusted-key` or `pgp` element in the metadata is a protection against this issue.

安全等级: Low

公告ID: KylinSec-SA-2023-1197

发布日期: 2023年3月16日

关联CVE: CVE-2023-26053  

  • 详细介绍

1. 漏洞描述

   

Gradle is a build tool with a focus on build automation and support for multi-language development. This is a collision attack on long IDs (64bits) for PGP keys. Users of dependency verification in Gradle are vulnerable if they use long IDs for PGP keys in a `trusted-key` or `pgp` element in their dependency verification metadata file. The fix is to fail dependency verification if anything but a fingerprint is used in a trust element in dependency verification metadata. The problem is fixed in Gradle 8.0 and above. The problem is also patched in Gradle 6.9.4 and 7.6.1. As a workaround, use only full fingerprint IDs for `trusted-key` or `pgp` element in the metadata is a protection against this issue.

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2023-26053 KY3.4-4A gradle Unaffected
CVE-2023-26053 KY3.4-5A gradle Unaffected
CVE-2023-26053 KY3.5.1 gradle Unaffected
CVE-2023-26053 KY3.5.2 gradle Unaffected

3. 影响组件

    无

4. 修复版本

    无

5. 修复方法

   无

6. 下载链接

    无
上一篇:KylinSec-SA-2023-1196 下一篇:KylinSec-SA-2023-1199