Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2022-23630— Dependency verification bypass in Gradle

Quick assessment

Affected
gradle gradle
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Gradle是美国Gradle公司的一套基于JVM的项目构建工具,它支持maven、Ivy仓库等。 Gradle 存在安全漏洞,该漏洞源于在某些情况下,Gradle可能会跳过验证,并接受一个依赖项,否则这个依赖项会作为一个不可信的外部构件导致构建失败。当在一个或多个配置上禁用依赖验证,并且这些配置与其他启用依赖验证的配置有共同依赖时,就会发生这种情况。如果首先解析的配置中禁用了依赖项验证,那么Gradle不会验证配置中常见的依赖项。

CVSS 7.5 · High EPSS 1.32% · P68

Possible ATT&CK Techniques 1 AI

T1195.002 · Compromise Software Supply Chain
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-23630

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Dependency verification bypass in Gradle
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
从非可信控制范围包含功能例程
Source: CVE Program / CVE List V5
Vulnerability Title
Gradle 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Gradle是美国Gradle公司的一套基于JVM的项目构建工具,它支持maven、Ivy仓库等。 Gradle 存在安全漏洞,该漏洞源于在某些情况下,Gradle可能会跳过验证,并接受一个依赖项,否则这个依赖项会作为一个不可信的外部构件导致构建失败。当在一个或多个配置上禁用依赖验证,并且这些配置与其他启用依赖验证的配置有共同依赖时,就会发生这种情况。如果首先解析的配置中禁用了依赖项验证,那么Gradle不会验证配置中常见的依赖项。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
gradle gradle >= 6.2, < 7.4 -

II. Public POCs for CVE-2022-23630

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-23630

登录查看更多情报信息。

Patches & Fixes for CVE-2022-23630 (1)

Vendor Advisories for CVE-2022-23630 (1)

Other References for CVE-2022-23630 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2022-23630

No comments yet


Leave a comment