Improper Link Resolution Before File Access ('Link Following') Affecting git/git package, versions [,2.39.4)[2.40.0,2.40.2)[2.41.0,2.41.1)[2.42.0,2.42.2)[2.43.0,2.43.4)[2.44.0,2.44.1)[2.45.0,2.45.1)


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-GITGIT-6841703
  • published15 May 2024
  • disclosed14 May 2024
  • creditApple Security Engineering and Architecture (SEAR)

Introduced: 14 May 2024

CVE-2024-32021  (opens in a new tab)
CWE-547  (opens in a new tab)

How to fix?

Upgrade git/git to version 2.39.4, 2.40.2, 2.41.1, 2.42.2, 2.43.4, 2.44.1, 2.45.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Link Resolution Before File Access ('Link Following') due to the optimization process for local cloning which attempts to hard link object files. An attacker can bypass security checks and create unauthorized links to sensitive files by exploiting the timing between file type checks and link creation operations.

References

CVSS Scores

version 3.1