3.9

CVE-2024-32020: Cloning local Git repository by untrusted user allows the untrusted user to modify objects in the cloned repository at will

Analyzed
AliasesALPINE-CVE-2024-32020UBUNTU-CVE-2024-32020DEBIAN-CVE-2024-32020
Published 14-05-2024Last modified 13-02-2025

Vulnerability summary

CVE-2024-32020 is a low (CVSS 3.9) Improper Preservation of Permissions vulnerability in fedoraproject fedora. EPSS estimates a 0.52% chance of exploitation in the next 30 days, higher than 45.6% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 3.9, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
3.9/10
010
Low · v3.1 (CVE.org)
EPSS score
0.52%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 14 · Related 11

Timeline

  1. 14-05-2024
    PublishedVulnerability first disclosed.
  2. 13-02-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.52%

Chance of exploitation in the next 30 days

Percentile

46%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.52% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Git

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine1 product
  • git≥ 2.40.0, < 2.39.5-r0 | ≥ 2.40.0, < 2.43.4-r0 | ≥ 2.40.0, < 2.45.1-r0 | < 2.39.5-r0 | ≥ 2.40.0, < 2.40.3-r0 | ≥ 2.43.0, < 2.43.4-r0 | ≥ 2.43.0, < 2.45.1-r0
Chainguard1 product
  • git< 2.45.1-r0
Debian1 product
  • git< 1:2.39.5-0+deb12u1 | < 1:2.45.1-1
Fedoraproject1 product
Git1 product
  • git= 2.45.0 | = 2.44.0 | ≥ 2.43.0, < 2.43.4 | ≥ 2.42.0, < 2.42.2 | = 2.41.0 | ≥ 2.40.0, < 2.40.2 | < 2.39.4
Git-scm1 product
  • gitEOL< 2.39.4 | ≥ 2.40.0, < 2.40.2 | ≥ 2.42.0, < 2.42.2 | ≥ 2.43.0, < 2.43.4 | 2.41.0 | 2.44.0 | 2.45.0
Ubuntu1 product
  • git< 1:2.17.1-1ubuntu0.18+esm1 | < 1:2.25.1-1ubuntu3.12 | < 1:2.34.1-1ubuntu1.11 | < 1:2.43.0-1ubuntu7.1
Wolfi1 product
  • git< 2.45.1-r0

8 vendors · 8 products

References

13 links
Show all 13 references