一、 漏洞 CVE-2022-23630 基础信息
漏洞标题
Gradle中的依赖验证绕过
来源:AIGC 神龙大模型
漏洞描述信息
Gradle是一个专注于构建自动化和多语言开发的构建工具。在某些情况下,Gradle可能会跳过该验证,并接受一个否则将导致构建失败的依赖项,作为不受信任的外部 artifacts。这发生在依赖项验证在一个或多个配置上被禁用,且这些配置与其他依赖项验证启用的配置有共同依赖项的情况下。如果禁用依赖项验证的配置首先被解决,Gradle不会验证依赖项验证启用的配置的共同依赖项。Gradle 7.4 通过在 artifacts 存在于启用了依赖项验证的已解决配置中时至少验证一次来修复此问题。对于无法更新的用户,建议不要使用`ResolutionStrategy.disableDependencyVerification()`,也不要使用禁用特定配置的依赖项验证或使用该方法的插件,并确保禁用该功能的配置的解决不会在解决启用了该功能的配置的构建中发生。
来源:AIGC 神龙大模型
CVSS信息
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
来源:AIGC 神龙大模型
漏洞类别
N/A
来源:AIGC 神龙大模型
漏洞标题
Dependency verification bypass in Gradle
来源:美国国家漏洞数据库 NVD
漏洞描述信息
Gradle is a build tool with a focus on build automation and support for multi-language development. In some cases, Gradle may skip that verification and accept a dependency that would otherwise fail the build as an untrusted external artifact. This occurs when dependency verification is disabled on one or more configurations and those configurations have common dependencies with other configurations that have dependency verification enabled. If the configuration that has dependency verification disabled is resolved first, Gradle does not verify the common dependencies for the configuration that has dependency verification enabled. Gradle 7.4 fixes that issue by validating artifacts at least once if they are present in a resolved configuration that has dependency verification active. For users who cannot update either do not use `ResolutionStrategy.disableDependencyVerification()` and do not use plugins that use that method to disable dependency verification for a single configuration or make sure resolution of configuration that disable that feature do not happen in builds that resolve configuration where the feature is enabled.
来源:美国国家漏洞数据库 NVD
CVSS信息
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
来源:美国国家漏洞数据库 NVD
漏洞类别
从非可信控制范围包含功能例程
来源:美国国家漏洞数据库 NVD
漏洞标题
Gradle 安全漏洞
来源:中国国家信息安全漏洞库 CNNVD
漏洞描述信息
Gradle是美国Gradle公司的一套基于JVM的项目构建工具,它支持maven、Ivy仓库等。 Gradle 存在安全漏洞,该漏洞源于在某些情况下,Gradle可能会跳过验证,并接受一个依赖项,否则这个依赖项会作为一个不可信的外部构件导致构建失败。当在一个或多个配置上禁用依赖验证,并且这些配置与其他启用依赖验证的配置有共同依赖时,就会发生这种情况。如果首先解析的配置中禁用了依赖项验证,那么Gradle不会验证配置中常见的依赖项。
来源:中国国家信息安全漏洞库 CNNVD
CVSS信息
N/A
来源:中国国家信息安全漏洞库 CNNVD
漏洞类别
其他
来源:中国国家信息安全漏洞库 CNNVD
二、漏洞 CVE-2022-23630 的公开POC
# POC 描述 源链接 神龙链接
三、漏洞 CVE-2022-23630 的情报信息