Improper Input Validation Affecting git-core package, versions <0:2.23.1-0.amzn2.0.2


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.05% (20th 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 Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2-GITCORE-3327859
  • published22 Feb 2023
  • disclosed24 Jan 2020

Introduced: 24 Jan 2020

CVE-2019-1348  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 git-core to version 0:2.23.1-0.amzn2.0.2 or higher.
This issue was patched in ALAS2-2023-1943.

NVD Description

Note: Versions mentioned in the description apply only to the upstream git-core package and not the git-core package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

An issue was found in Git before v2.24.1, v2.23.1, v2.22.2, v2.21.1, v2.20.2, v2.19.3, v2.18.2, v2.17.3, v2.16.6, v2.15.4, and v2.14.6. The --export-marks option of git fast-import is exposed also via the in-stream command feature export-marks=... and it allows overwriting arbitrary paths.

CVSS Scores

version 3.1