> CVE-2023-23946 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2023-02-14 20:15
MODIFIED
2024-11-21 07:47
CVSS_SCORE V3
6.2
EPSS (Prob. Exploit)
1.14%
Top 33.0%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-15 OSV 🔗 2026-07-26

> DESCRIPTION

Git, a revision control system, is vulnerable to path traversal prior to versions 2.39.2, 2.38.4, 2.37.6, 2.36.5, 2.35.7, 2.34.7, 2.33.7, 2.32.6, 2.31.7, and 2.30.8. By feeding a crafted input to `git apply`, a path outside the working tree can be overwritten as the user who is running `git apply`. A fix has been prepared and will appear in v2.39.2, v2.38.4, v2.37.6, v2.36.5, v2.35.7, v2.34.7, v2.33.7, v2.32.6, v2.31.7, and v2.30.8. As a workaround, use `git apply --stat` to inspect a patch before applying; avoid applying one that creates a symbolic link and then creates a file beyond the symbolic link.

> AFFECTED_PRODUCTS

Git-Scm - Git
< 2.30.8
Git-Scm - Git
>= 2.31.0 < 2.31.7
Git-Scm - Git
>= 2.32.0 < 2.32.6
Git-Scm - Git
>= 2.33.0 < 2.33.7
Git-Scm - Git
>= 2.34.0 < 2.34.7
Git-Scm - Git
>= 2.35.0 < 2.35.7
Git-Scm - Git
>= 2.36.0 < 2.36.5
Git-Scm - Git
>= 2.37.0 < 2.37.6
Git-Scm - Git
>= 2.38.0 < 2.38.4
Git-Scm - Git
>= 2.39.0 < 2.39.2

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Local (L)
Exploit nécessite un accès local au système
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
None
Aucune interruption de service

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Git's `git apply` overwriting paths outside the working tree

AFFECTED PACKAGES:
Unknown / Unknown
430 versions affected
ALIASES:
GHSA-r87m-v37r-cwfh

> HISTORIQUE DES MODIFICATIONS

Première apparition
14/02/2023 20:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:39
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME