Integer Overflow or Wraparound Affecting git/git package, versions [2.30.7,2.31.6)[2.32.0,2.32.5)[2.33.0,2.33.6)[2.34.0,2.34.6)[2.35.0,2.35.6)[2.36.0,2.36.4)[2.37.0,2.37.5)[2.38.0,2.38.3)[2.39.0,2.39.1)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
2.53% (90th 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-3237238
  • published19 Jan 2023
  • disclosed17 Jan 2023
  • creditMarkus Vervier and Eric Sesterhenn of X41 D-Sec

Introduced: 17 Jan 2023

CVE-2022-23521  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade git/git to version 2.31.6, 2.32.5, 2.33.6, 2.34.6, 2.35.6, 2.36.4, 2.37.5, 2.38.3, 2.39.1 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound when parsing gitattributes. This is exploitable when there is a huge number of path patterns, a huge number of attributes for a single pattern, or when the declared attribute names are huge.

CVSS Scores

version 3.1