Upstream information

CVE-2021-29427 at MITRE

Description

In Gradle from version 5.1 and before version 7.0 there is a vulnerability which can lead to information disclosure and/or dependency poisoning. Repository content filtering is a security control Gradle introduced to help users specify what repositories are used to resolve specific dependencies. This feature was introduced in the wake of the "A Confusing Dependency" blog post. In some cases, Gradle may ignore content filters and search all repositories for dependencies. This only occurs when repository content filtering is used from within a `pluginManagement` block in a settings file. This may change how dependencies are resolved for Gradle plugins and build scripts. For builds that are vulnerable, there are two risks: 1) Information disclosure: Gradle could make dependency requests to repositories outside your organization and leak internal package identifiers. 2) Dependency poisoning/Dependency confusion: Gradle could download a malicious binary from a repository outside your organization due to name squatting. For a full example and more details refer to the referenced GitHub Security Advisory. The problem has been patched and released with Gradle 7.0. Users relying on this feature should upgrade their build as soon as possible. As a workaround, users may use a company repository which has the right rules for fetching packages from public repositories, or use project level repository content filtering, inside `buildscript.repositories`. This option is available since Gradle 5.1 when the feature was introduced.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having important severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 6
Vector AV:N/AC:M/Au:S/C:P/I:P/A:P
Access Vector Network
Access Complexity Medium
Authentication Single
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial
CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 7.2 8
Vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
Attack Vector Network Network
Attack Complexity Low High
Privileges Required High High
User Interaction None None
Scope Unchanged Changed
Confidentiality Impact High High
Integrity Impact High High
Availability Impact High High
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entry: 1184806 [RESOLVED / INVALID]

No SUSE Security Announcements cross referenced.


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Enterprise Storage 7.1 gradle Not affected
SUSE Linux Enterprise Desktop 15 SP5 gradle Not affected
SUSE Linux Enterprise High Performance Computing 15 SP5 gradle Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP5 gradle Not affected
SUSE Linux Enterprise Real Time 15 SP3 gradle Not affected
SUSE Linux Enterprise Server 15 SP5 gradle Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP4 gradle Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP5 gradle Not affected
SUSE Manager Proxy 4.3 gradle Not affected
SUSE Manager Retail Branch Server 4.3 gradle Not affected
SUSE Manager Server 4.3 gradle Not affected
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise Desktop 15 SP4 gradle Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2 gradle Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS gradle Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS gradle Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3 gradle Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS gradle Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS gradle Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4 gradle Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS gradle Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS gradle Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP2 gradle Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP3 gradle Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP4 gradle Not affected
SUSE Linux Enterprise Server 15 SP2 gradle Not affected
SUSE Linux Enterprise Server 15 SP2-LTSS gradle Not affected
SUSE Linux Enterprise Server 15 SP3 gradle Not affected
SUSE Linux Enterprise Server 15 SP3-LTSS gradle Not affected
SUSE Linux Enterprise Server 15 SP4 gradle Not affected
SUSE Linux Enterprise Server 15 SP4-LTSS gradle Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP2 gradle Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP3 gradle Not affected
Products past their end of life and not receiving proactive updates anymore.
SUSE Enterprise Storage 7 gradle Not affected
SUSE Linux Enterprise Desktop 15 SP2 gradle Not affected
SUSE Linux Enterprise Desktop 15 SP3 gradle Not affected
SUSE Linux Enterprise Real Time 15 SP2 gradle Not affected
SUSE Linux Enterprise Real Time 15 SP4 gradle Not affected
SUSE Linux Enterprise Server 15 SP2-BCL gradle Not affected
SUSE Linux Enterprise Server 15 SP3-BCL gradle Not affected
SUSE Manager Proxy 4.1 gradle Not affected
SUSE Manager Proxy 4.2 gradle Not affected
SUSE Manager Retail Branch Server 4.1 gradle Not affected
SUSE Manager Retail Branch Server 4.2 gradle Not affected
SUSE Manager Server 4.1 gradle Not affected
SUSE Manager Server 4.2 gradle Not affected


SUSE Timeline for this CVE

CVE page created: Wed Apr 14 02:29:37 2021
CVE page last modified: Thu Feb 22 17:17:14 2024