Skip to content
Heist/ feed
Back to feed
Medium

gradle — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2023-44387

Gradle is a build tool with a focus on build automation and support for multi-language development. When copying or archiving symlinked files, Gradle resolves them but applies the permissions of the symlink itself instead of the permissions of the linked file to the resulting file. This leads to files having too much permissions given that symlinks usually are world readable and writeable. While it is unlikely this results in a direct vulnerability for the impacted build, it may open up attack vectors depending on where build artifacts end up being copied to or un-archived. In versions 7.6.3, 8.4 and above, Gradle will now properly use the permissions of the file pointed at by the symlink to set permissions of the copied or archived file.

Products
gradle
Affected versions
4.4.1-18, 4.4.1-19, 4.4.1-20, 4.4.1-21, 4.4.1-22, 4.4.1-23, 4.5.1-1, 4.6-1, 4.6-2, 4.6-3
Fixed versions
Not specified
CVEs
CVE-2023-44387
Confirmed fixed CVEs
Not specified
Updated in this feed
28 Oct 2026, 11:09 UTC · Revision 1

Source evidence

DEBIAN-CVE-2023-44387

core-osv · Original source

Published 5 Oct 2023, 18:15 UTC

Gradle is a build tool with a focus on build automation and support for multi-language development. When copying or archiving symlinked files, Gradle resolves them but applies the permissions of the symlink itself instead of the permissions of the linked file to the resulting file. This leads to files having too much permissions given that symlinks usually are world readable and writeable. While it is unlikely this results in a direct vulnerability for the impacted build, it may open up attack vectors depending on where build artifacts end up being copied to or un-archived. In versions 7.6.3, 8.4 and above, Gradle will now properly use the permissions of the file pointed at by the symlink to set permissions of the copied or archived file.

osv:DEBIAN-CVE-2023-44387

gradle

Fixed versions: Not specified

gradle

Fixed versions: Not specified

gradle

Fixed versions: Not specified

Complete source record
{
  "id": "7ac2bb3a71895d09b617b6da6808c98374e15dfa2d8278a36d49fb38a06a2cb5",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-44387",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2023-44387",
    "summary": "Gradle is a build tool with a focus on build automation and support for multi-language development. When copying or archiving symlinked files, Gradle resolves them but applies the permissions of the symlink itself instead of the permissions of the linked file to the resulting file. This leads to files having too much permissions given that symlinks usually are world readable and writeable. While it is unlikely this results in a direct vulnerability for the impacted build, it may open up attack vectors depending on where build artifacts end up being copied to or un-archived. In versions 7.6.3, 8.4 and above, Gradle will now properly use the permissions of the file pointed at by the symlink to set permissions of the copied or archived file.",
    "evidence": "osv:DEBIAN-CVE-2023-44387",
    "products": [
      {
        "name": {
          "value": "gradle",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.4.1-18",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.4.1-19",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.4.1-20",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.4.1-21",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.4.1-22",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.4.1-23",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.5.1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.6-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.6-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.6-3",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "gradle",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.4.1-22",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.4.1-23",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.5.1-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.6-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.6-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.6-3",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "gradle",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.4.1-22",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.4.1-23",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.5.1-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.6-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.6-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.6-3",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2023-44387",
      "aliases": [
        "DEBIAN-CVE-2023-44387"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gradle",
            "purl": "pkg:deb/debian/gradle?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "4.4.1-18",
            "4.4.1-19",
            "4.4.1-20",
            "4.4.1-21",
            "4.4.1-22",
            "4.4.1-23",
            "4.5.1-1",
            "4.6-1",
            "4.6-2",
            "4.6-3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-44387.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gradle",
            "purl": "pkg:deb/debian/gradle?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "4.4.1-22",
            "4.4.1-23",
            "4.5.1-1",
            "4.6-1",
            "4.6-2",
            "4.6-3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-44387.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gradle",
            "purl": "pkg:deb/debian/gradle?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "4.4.1-22",
            "4.4.1-23",
            "4.5.1-1",
            "4.6-1",
            "4.6-2",
            "4.6-3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-44387.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-09T10:00:27.855046197Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-44387"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2023-44387"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-44387",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 111731,
  "published_at": "2023-10-05T18:15:12.787+00:00"
}