> CVE-2023-25652 [HIGH]

« BACK_TO_HOME
PUBLISHED
2023-04-25 20:15
MODIFIED
2024-11-21 07:49
CVSS_SCORE V3
7.5
EPSS (Prob. Exploit)
51.88%
Top 1.0%
⚡ EPSS ÉLEVÉ (51.9%)
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-08 OSV 🔗 2026-10-04

> DESCRIPTION

Git is a revision control system. Prior to versions 2.30.9, 2.31.8, 2.32.7, 2.33.8, 2.34.8, 2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3, and 2.40.1, by feeding specially crafted input to `git apply --reject`, a path outside the working tree can be overwritten with partially controlled contents (corresponding to the rejected hunk(s) from the given patch). A fix is available in versions 2.30.9, 2.31.8, 2.32.7, 2.33.8, 2.34.8, 2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3, and 2.40.1. As a workaround, avoid using `git apply` with `--reject` when applying patches from an untrusted source. Use `git apply --stat` to inspect a patch before applying; avoid applying one that create a conflict where a link corresponding to the `*.rej` file exists.

> AFFECTED_PRODUCTS

Fedoraproject - Fedora
Version: 37
Fedoraproject - Fedora
Version: 38
Git-Scm - Git
< 2.30.9
Git-Scm - Git
>= 2.31.0 < 2.31.8
Git-Scm - Git
>= 2.32.0 < 2.32.7
Git-Scm - Git
>= 2.33.0 < 2.33.8
Git-Scm - Git
>= 2.34.0 < 2.34.8
Git-Scm - Git
>= 2.35.0 < 2.35.8
Git-Scm - Git
>= 2.36.0 < 2.36.6
Git-Scm - Git
>= 2.37.0 < 2.37.7
Git-Scm - Git
>= 2.38.0 < 2.38.5
Git-Scm - Git
>= 2.39.0 < 2.39.3
Git-Scm - Git
Version: 2.40.0

> CVSS V3 METRICS

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

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/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
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
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 apply --reject" partially-controlled arbitrary file write

AFFECTED PACKAGES:
Unknown / Unknown
439 versions affected
ALIASES:
GHSA-2hvf-7c8p-28fx

> HISTORIQUE DES MODIFICATIONS

Première apparition
25/04/2023 20:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:40
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