Skip to content
Heist/ feed
Back to feed
Critical

gradle — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2019-15052

The HTTP client in Gradle before 5.6 sends authentication credentials originally destined for the configured host. If that host returns a 30x redirect, Gradle also sends those credentials to all subsequent hosts that the request redirects to. This is similar to CVE-2018-1000007.

Products
gradle
Affected versions
2.10-1, 2.5-3, 2.7-1, 2.7-2, 2.7-3, 3.2.1-3build2, 3.2.1-4, 3.2.1-5, 3.4.1-4, 3.4.1-6, 3.4.1-7ubuntu1, 4.4.1-10, 4.4.1-13, 4.4.1-18, 4.4.1-20, 4.4.1-22, 4.4.1-22build1, 4.4.1-22ubuntu1, 4.4.1-23, 4.4.1-5ubuntu2~18.04, 4.4.1-5ubuntu2~18.04+esm1, 4.4.1-8, 4.4.1-9
Fixed versions
Not specified
CVEs
CVE-2019-15052
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:32 UTC · Revision 1

Source evidence

UBUNTU-CVE-2019-15052

core-osv · Original source

Published 14 Aug 2019, 20:15 UTC

The HTTP client in Gradle before 5.6 sends authentication credentials originally destined for the configured host. If that host returns a 30x redirect, Gradle also sends those credentials to all subsequent hosts that the request redirects to. This is similar to CVE-2018-1000007.

osv:UBUNTU-CVE-2019-15052

gradle

Fixed versions: Not specified

gradle

Fixed versions: Not specified

gradle

Fixed versions: Not specified

gradle

Fixed versions: Not specified

gradle

Fixed versions: Not specified

gradle

Fixed versions: Not specified

gradle

Fixed versions: Not specified

gradle

Fixed versions: Not specified

Complete source record
{
  "id": "e1e348ef7ae4ff46ff40c76cfa18bbec8b3a1576611785e1d4c05e227179f9d3",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2019-15052",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2019-15052",
    "summary": "The HTTP client in Gradle before 5.6 sends authentication credentials originally destined for the configured host. If that host returns a 30x redirect, Gradle also sends those credentials to all subsequent hosts that the request redirects to. This is similar to CVE-2018-1000007.",
    "evidence": "osv:UBUNTU-CVE-2019-15052",
    "products": [
      {
        "name": {
          "value": "gradle",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.5-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.7-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.7-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.7-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.10-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "gradle",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.2.1-3build2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.2.1-4",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.2.1-5",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.4.1-4",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.4.1-6",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.4.1-7ubuntu1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.4.1-5ubuntu2~18.04",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.4.1-5ubuntu2~18.04+esm1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "gradle",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.4.1-8",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.4.1-9",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.4.1-10",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "gradle",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.4.1-13",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "gradle",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.4.1-18",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "4.4.1-20",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "gradle",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.4.1-22",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "gradle",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.4.1-22ubuntu1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "4.4.1-23",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "gradle",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.4.1-22",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "4.4.1-22build1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "4.4.1-22ubuntu1",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "UBUNTU-CVE-2019-15052",
      "aliases": [
        "UBUNTU-CVE-2019-15052"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gradle",
            "purl": "pkg:deb/ubuntu/gradle?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "2.5-3",
            "2.7-1",
            "2.7-2",
            "2.7-3",
            "2.10-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-15052.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "gradle",
                "binary_version": "2.10-1"
              },
              {
                "binary_name": "libgradle-core-java",
                "binary_version": "2.10-1"
              },
              {
                "binary_name": "libgradle-plugins-java",
                "binary_version": "2.10-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gradle",
            "purl": "pkg:deb/ubuntu/gradle?arch=source&distro=esm-apps%2Fbionic",
            "ecosystem": "Ubuntu:Pro:18.04:LTS"
          },
          "versions": [
            "3.2.1-3build2",
            "3.2.1-4",
            "3.2.1-5",
            "3.4.1-4",
            "3.4.1-6",
            "3.4.1-7ubuntu1",
            "4.4.1-5ubuntu2~18.04",
            "4.4.1-5ubuntu2~18.04+esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-15052.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "gradle",
                "binary_version": "4.4.1-5ubuntu2~18.04+esm1"
              },
              {
                "binary_name": "libgradle-core-java",
                "binary_version": "4.4.1-5ubuntu2~18.04+esm1"
              },
              {
                "binary_name": "libgradle-plugins-java",
                "binary_version": "4.4.1-5ubuntu2~18.04+esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gradle",
            "purl": "pkg:deb/ubuntu/gradle?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "4.4.1-8",
            "4.4.1-9",
            "4.4.1-10"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-15052.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "gradle",
                "binary_version": "4.4.1-10"
              },
              {
                "binary_name": "libgradle-core-java",
                "binary_version": "4.4.1-10"
              },
              {
                "binary_name": "libgradle-plugins-java",
                "binary_version": "4.4.1-10"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gradle",
            "purl": "pkg:deb/ubuntu/gradle?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "4.4.1-13"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-15052.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "gradle",
                "binary_version": "4.4.1-13"
              },
              {
                "binary_name": "libgradle-core-java",
                "binary_version": "4.4.1-13"
              },
              {
                "binary_name": "libgradle-plugins-java",
                "binary_version": "4.4.1-13"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gradle",
            "purl": "pkg:deb/ubuntu/gradle?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "4.4.1-18",
            "4.4.1-20"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-15052.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "gradle",
                "binary_version": "4.4.1-20"
              },
              {
                "binary_name": "libgradle-core-java",
                "binary_version": "4.4.1-20"
              },
              {
                "binary_name": "libgradle-plugins-java",
                "binary_version": "4.4.1-20"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gradle",
            "purl": "pkg:deb/ubuntu/gradle?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "4.4.1-22"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-15052.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "gradle",
                "binary_version": "4.4.1-22"
              },
              {
                "binary_name": "libgradle-core-java",
                "binary_version": "4.4.1-22"
              },
              {
                "binary_name": "libgradle-plugins-java",
                "binary_version": "4.4.1-22"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gradle",
            "purl": "pkg:deb/ubuntu/gradle?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "4.4.1-22ubuntu1",
            "4.4.1-23"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-15052.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "gradle",
                "binary_version": "4.4.1-23"
              },
              {
                "binary_name": "libgradle-core-java",
                "binary_version": "4.4.1-23"
              },
              {
                "binary_name": "libgradle-plugins-java",
                "binary_version": "4.4.1-23"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gradle",
            "purl": "pkg:deb/ubuntu/gradle?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "4.4.1-22",
            "4.4.1-22build1",
            "4.4.1-22ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-15052.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "gradle",
                "binary_version": "4.4.1-22ubuntu1"
              },
              {
                "binary_name": "libgradle-core-java",
                "binary_version": "4.4.1-22ubuntu1"
              },
              {
                "binary_name": "libgradle-plugins-java",
                "binary_version": "4.4.1-22ubuntu1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:55:38.628036231Z",
      "provider": "osv",
      "upstream": [
        "CVE-2019-15052"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2019-15052",
        "https://github.com/gradle/gradle/issues/10278",
        "https://github.com/gradle/gradle/pull/10176",
        "https://github.com/gradle/gradle/security/advisories/GHSA-4cwg-f7qc-6r95",
        "https://www.cve.org/CVERecord?id=CVE-2019-15052"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2019-15052",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 353921,
  "published_at": "2019-08-14T20:15:00+00:00"
}