llamaCVEVulnerability Intelligence
/
gitoxide

CVE-2024-45305

gix-path uses local config across repos when it is the highest scope

Parche disponible
Descargar PNG JSON
CVSS 3.1
2.5
Baja
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N Fuente: CNA
ExplotaciónPoC públicaSSVC: PoC · no figura en CISA KEV
Exploits públicos0CISA-ADP reporta PoC; aún sin enlace público
Parche1 versiónPrimer parche a -11 d de la divulgación
Exposición809 dDesde la divulgación, 2 sept 2024, 11:30 a. m.
Detección791 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Parche 0.10.10
Monitoreo
Detectada
Verificada
22 ago 24
2 sept 24
3 sept 24
3 nov 26
18 nov 26
21 nov 26
22 ago 24
15 mar 25
6 oct 25
30 abr 26
21 nov 26
FechaFaseEventoDetalle
Remediación Parche 0.10.10 gix-path · -11 d desde divulgación
Divulgación Publicada CVE-2024-45305 divulgada · CVSS 2.5 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen

gix-path is a crate of the gitoxide project dealing with git paths and their conversions. `gix-path` executes `git` to find the path of a configuration file that belongs to the `git` installation itself, but mistakenly treats the local repository's configuration as system-wide if no higher scoped configuration is found. In rare cases, this causes a less trusted repository to be treated as more trusted, or leaks sensitive information from one repository to another, such as sending credentials to another repository's remote. In `gix_path::env`, the underlying implementation of the `installation_config` and `installation_config_prefix` functions calls `git config -l --show-origin` and parses the first line of the output to extract the path to the configuration file holding the configuration variable of highest scope. It is believed to be very difficult to exploit this vulnerability deliberately, due to the need either to anticipate a situation in which higher-scoped configuration variables would be absent, or to arrange for this to happen. Although any operating system may be affected, users running Apple Git on macOS are much less likely to be affected. This issue has been addressed in release version 0.10.10. All users are advised to upgrade.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:L
RedAdyacenteLocalFísica
ComplejidadAC:H
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:R
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:L
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
6.6/ 10Medio
Vector 4.6 (moderada) · +2.0 por PoC pública.
Versiones

Rangos afectados

Afectada Corregida Última
gitoxide · gix-path< 0.10.10
0.10.10
0.14.1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
crates.iogix-path
Corregida 0.10.10 -11 d 0.14.1 no afectada
Versiones corregidas0.10.10
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/Byron/gitoxide/security/advisories/GHSA-v26r-4c9c-h3j6
Otrahttps://git-scm.com/docs/git-config#SCOPES
Otrahttps://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L112
Otrahttps://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L91

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.