Improper Encoding or Escaping of Output Affecting git/git package, versions [,2.40.4)[2.41.0,2.41.3)[2.42.0,2.42.4)[2.43.0,2.43.6)[2.44.0,2.44.3)[2.45.0,2.45.3)[2.46.0,2.46.3)[2.47.0,2.47.1)[2.48.0,2.48.1)


Severity

Recommended
0.0
low
0
10

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

Threat Intelligence

EPSS
0.05% (19th 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-8622960
  • published15 Jan 2025
  • disclosed14 Jan 2025
  • creditUnknown

Introduced: 14 Jan 2025

CVE-2024-50349  (opens in a new tab)
CWE-116  (opens in a new tab)

How to fix?

Upgrade git/git to version 2.40.4, 2.41.3, 2.42.4, 2.43.6, 2.44.3, 2.45.3, 2.46.3, 2.47.1, 2.48.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Encoding or Escaping of Output through the terminal prompt process when asking for credentials interactively. An attacker can manipulate the output to display misleading information, potentially tricking users into providing credentials for a malicious site by crafting URLs that include ANSI escape sequences.

CVSS Base Scores

version 4.0
version 3.1