VDB

CVE-2024-32020

CVE-2024-32020 PUBLISHED CVSS 3.9 LOW

Reported by github_m · Published May 14, 2024

Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4, local clones may end up hardlinking files into the target repository's object database when source and target repository reside on the same disk. If the source repository is owned by a different user, then those hardlinked files may be rewritten at any point in time by the untrusted user. Cloning local repositories will cause Git to either copy or hardlink files of the source repository into the target repository. This significantly speeds up such local clones compared to doing a "proper" clone and saves both disk space and compute time. When cloning a repository located on the same disk that is owned by a different user than the current user we also end up creating such hardlinks. These files will continue to be owned and controlled by the potentially-untrusted user and can be rewritten by them at will in the future. The problem has been patched in versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
git-subtreeAmazon Linux2.40.1-1.amzn2023.0.3
git-credential-libsecretAmazon Linux2.40.1-1.amzn2023.0.3, 2.40.1-1.amzn2.0.3
git-instawebAmazon Linux2.40.1-1.amzn2023.0.3, 2.40.1-1.amzn2.0.3
git-emailAmazon Linux2.40.1-1.amzn2023.0.3, 2.40.1-1.amzn2.0.3
git-core-docAmazon Linux2.40.1-1.amzn2023.0.3, 2.40.1-1.amzn2.0.3
git-coreAmazon Linux2.40.1-1.amzn2023.0.3
git-p4Amazon Linux2.40.1-1.amzn2023.0.3, 2.40.1-1.amzn2.0.3
git-svnAmazon Linux2.40.1-1.amzn2023.0.3
perl-Git-SVNAmazon Linux2.40.1-1.amzn2023.0.3, 2.40.1-1.amzn2.0.3
git-cvsAmazon Linux2.40.1-1.amzn2023.0.3
git-daemonAmazon Linux2.40.1-1.amzn2.0.3
git-allAmazon Linux2.40.1-1.amzn2023.0.3

5 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
3.9
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:L

Affected products

VendorProductVersions
gitgit= 2.45.0, = 2.44.0, >= 2.43.0, < 2.43.4
amazon:2023git-subtree0
amazon:2git-credential-libsecret0
amazon:2git-instaweb0
amazon:2023git-email0
amazon:2git-email0
amazon:2023git-core-doc0
amazon:2023git-core0
amazon:2023git-p40
amazon:2023git-svn0
amazon:2git-core-doc0
amazon:2023git-credential-libsecret0
amazon:2023perl-Git-SVN0
amazon:2023git-cvs0
amazon:2git-p40
amazon:2git-daemon0
amazon:2023git-all0
amazon:2git-gui0
amazon:2perl-Git0
amazon:2git0

…and 20 more

Timeline

  • May 14, 2024 CVE Published
  • May 15, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (11 in total, the first dated here)
  • Feb 13, 2025 CVE Updated
  • Jan 12, 2026 Security Advisory (13 in total, the first dated here)
  • Sep 11, 2026 Distribution Patch (12 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-32020
vulnetix vdb fixes CVE-2024-32020

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-32020/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›