4.7

CVE-2024-50349: debian debian_linux Improper Encoding or Escaping of Output

CVSS: 4.7v3.1MediumAnalyzed
AliasesALPINE-CVE-2024-50349RHSA-2025:19601UBUNTU-CVE-2024-50349
Published 14-01-2025Last modified 03-11-2025

Vulnerability summary

CVE-2024-50349 is a medium (CVSS 4.7) Improper Encoding or Escaping of Output vulnerability in debian debian_linux. EPSS estimates a 0.67% chance of exploitation in the next 30 days, higher than 50.9% of scored vulnerabilities.

Overall risk
19/100
0100
Low · default modelHow is this calculated?
CVSS score
4.7/10
010
Medium · v3.1 (NVD)
EPSS score
0.67%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 14 · Related 11

Timeline

  1. 14-01-2025
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last modifiedVulnerability information updated.

Description

Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. When Git asks for credentials via a terminal prompt (i.e. without using any credential helper), it prints out the host name for which the user is expected to provide a username and/or a password. At this stage, any URL-encoded parts have been decoded already, and are printed verbatim. This allows attackers to craft URLs that contain ANSI escape sequences that the terminal interpret to confuse users e.g. into providing passwords for trusted Git hosting sites when in fact they are then sent to untrusted sites that are under the attacker's control. This issue has been patch via commits `7725b81` and `c903985` which are included in release versions v2.48.1, v2.47.2, v2.46.3, v2.45.3, v2.44.3, v2.43.6, v2.42.4, v2.41.3, and v2.40.4. Users are advised to upgrade. Users unable to upgrade should avoid cloning from untrusted URLs, especially recursive clones.

CVSS metrics

10 scores · 8 sources · 2 versions

EPSS trend

Probability

0.67%

Chance of exploitation in the next 30 days

Percentile

51%

Versus all other CVEs

30-day change

0.00 pp

From 0.67% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.67%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Redhat20 products
  • git< 0:2.43.5-1.el9_4.3
  • git-all< 0:2.43.5-1.el9_4.3
  • git-core< 0:2.43.5-1.el9_4.3
  • git-core-debuginfo< 0:2.43.5-1.el9_4.3
  • git-core-doc< 0:2.43.5-1.el9_4.3
Debian2 products
Alpine1 product
  • git≥ 2.41.0, < 2.40.4-r0 | ≥ 2.41.0, < 2.43.6-r0 | ≥ 2.41.0, < 2.45.3-r0 | ≥ 2.41.0, < 2.47.2-r0 | ≥ 2.41.0, < 2.48.1-r0
Chainguard1 product
  • git< 2.48.1-r0
Git1 product
  • git≤ 2.40.3 | ≥ 2.41.0, ≤ 2.41.2 | ≥ 2.42.0, ≤ 2.42.3 | ≥ 2.43.0, ≤ 2.43.5 | ≥ 2.44.0, ≤ 2.44.2 | ≥ 2.45.0, ≤ 2.45.2 | ≥ 2.46.0, ≤ 2.46.2 | = 2.48.0 | < 2.40.4 | ≥ 2.41.0, < 2.41.3 | ≥ 2.42.0, < 2.42.4 | ≥ 2.43.0, < 2.43.6 | ≥ 2.44.3, < 2.44.3 | ≥ 2.45.3, < 2.45.3 | ≥ 2.46.3, < 2.46.3 | ≥ 2.47.0, < 2.47.2 | 2.48.0
Opensuse1 product
  • git&distro=openSUSE Tumbleweed< 2.48.1-1.1
Ubuntu1 product
  • git< 1:2.7.4-0ubuntu1.10+esm13 | < 1:2.17.1-1ubuntu0.18+esm6 | < 1:2.25.1-1ubuntu3.14 | < 1:2.34.1-1ubuntu1.12 | < 1:2.43.0-1ubuntu7.2
Wolfi1 product
  • git< 2.48.1-r0

8 vendors · 28 products

References

21 links
Show all 21 references