CVE-2025-48384Git
Ejecución de código arbitrario en Git mediante rutas de submódulos con saltos d…
Alta 8.0 KEV
- Prioridad
- 48
- CVSS 3.1
- 8.0
- EPSS
- —
- Requiere autenticación
- Sí
- En el KEV desde
- 25 ago 2025
- Plazo de CISA
- 15 sep 2025
- Uso en ransomware
- Sin datos
- Publicada
- 8 jul 2025
- Actualizada
- 24 sep 2026
- Categoría
- Aplicación · Multiplataforma
- SSVC (CISA)
- Explotación: activa · Automatizable: no · Impacto técnico: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
Qué pasa
Git no maneja correctamente los caracteres de retorno de carro (CR) en archivos de configuración, lo que permite que rutas de submódulos se alteren durante la lectura. Un atacante autenticado puede crear un repositorio malicioso que, al ser clonado, ejecute un script post-checkout del submódulo en una ubicación no prevista si existe un enlace simbólico. CISA confirmó que esta vulnerabilidad está siendo explotada activamente.
Resumen generado con IA (Claude) a partir de los datos de NVD y CISA. Nadie lo revisó todavía: verifica los detalles en el aviso del fabricante.
Ver el texto original de NVD (en inglés)
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 reading a config value, Git strips any trailing carriage return and line feed (CRLF). When writing a config entry, values with a trailing CR are not quoted, causing the CR to be lost when the config is later read. When initializing a submodule, if the submodule path contains a trailing CR, the altered path is read resulting in the submodule being checked out to an incorrect location. If a symlink exists that points the altered path to the submodule hooks directory, and the submodule contains an executable post-checkout hook, the script may be unintentionally executed after checkout. This vulnerability is fixed in v2.43.7, v2.44.4, v2.45.4, v2.46.4, v2.47.3, v2.48.2, v2.49.1, and v2.50.1.
Explotación confirmada por CISA
Git contains a link following vulnerability that stems from Git’s inconsistent handling of carriage return characters in configuration files.
Acción que pide CISA: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Qué hacer
Hay parche · versiones corregidas: 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.3, 2.48.2, 2.49.1, 2.50.1
Actualiza Git a la versión corregida correspondiente a tu rama: 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.3, 2.48.2, 2.49.1 o 2.50.1.
Aviso del fabricante · github.com ↗
Generado con IA a partir de los datos públicos; sin revisar.
- Aplica la actualización de seguridad del fabricante para Git.
- CISA la confirmó como explotada: trátala como urgente. El plazo para agencias federales de EE. UU. venció el 15 de septiembre de 2025.
- Revisa los registros en busca de señales de explotación previa.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| git-scm | git | < 2.43.7 |
| git-scm | git | ≥ 2.44.0 < 2.44.4 |
| git-scm | git | ≥ 2.45.0 < 2.45.4 |
| git-scm | git | ≥ 2.46.0 < 2.46.4 |
| git-scm | git | ≥ 2.47.0 < 2.47.3 |
| git-scm | git | ≥ 2.48.0 < 2.48.2 |
| git-scm | git | ≥ 2.49.0 < 2.49.1 |
| git-scm | git | ≥ 2.50.0 < 2.50.1 |
| debian | debian_linux | 11.0 |
| apple | xcode | < 26.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Vendor Advisory
- seclists.org Mailing List Third Party Advisory
- www.openwall.com Mailing List
- lists.debian.org Mailing List Third Party Advisory
- www.cisa.gov US Government Resource