llamaCVEVulnerability Intelligence
/
nix

CVE-2024-51481

Nix allows macOS sandbox escape via built-in builders

Parche disponibleprotection bypass
Descargar PNG JSON
CVSS 4.0
1.0
Baja
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche6 versiones2.18.9 · 2.20.9 · 2.21.5 · 2.22.4 …
Exposición748 dDesde la divulgación, 31 oct 2024, 11:10 a. m.
Detección746 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +2
Explotación
Remediación
Monitoreo
Detectada
31 oct 24
17 nov 26
19 nov 26
31 oct 24
6 may 25
10 nov 25
16 may 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2024-51481 divulgada · CVSS 1 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen

Nix is a package manager for Linux and other Unix systems. On macOS, built-in builders (such as `builtin:fetchurl`, exposed to users with `import <nix/fetchurl.nix>`) were not executed in the macOS sandbox. Thus, these builders (which are running under the `nixbld*` users) had read access to world-readable paths and write access to world-writable paths outside of the sandbox. This issue is fixed in 2.18.9, 2.19.7, 2.20.9, 2.21.5, 2.22.4, 2.23.4, and 2.24.10. Note that sandboxing is not enabled by default on macOS. The Nix sandbox is not primarily intended as a security mechanism, but as an aid to improve reproducibility and purity of Nix builds. However, sandboxing *can* mitigate the impact of other security issues by limiting what parts of the host system a build has access to.

Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:L
RedAdyacenteLocalFísica
ComplejidadAC:H
BajaAlta
Requisitos de ataqueAT:P
NingunoPresentes
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:P
NingunaPasivaActiva
Confid. (sistema)VC:L
AltoBajoNinguno
Integridad (sistema)VI:L
AltoBajoNinguno
Disponib. (sistema)VA:N
AltoBajoNinguno
Confid. (posterior)SC:L
AltoBajoNinguno
Integridad (posterior)SI:L
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
nix< 2.18.9
nix≥ 2.20.0 < 2.20.9
nix≥ 2.21.0 < 2.21.5
nix≥ 2.22.0 < 2.22.4
nix≥ 2.23.0 < 2.23.4
nix≥ 2.24.0 < 2.24.10
2.18.9
2.20.0
2.20.9
2.21.0
2.21.5
2.22.0
2.22.4
2.23.0
2.23.4
2.24.0
2.24.10
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
nix
Corregida 2.18.9, 2.20.9, 2.21.5, 2.22.4, 2.23.4, 2.24.10 — —
Versiones corregidas2.18.92.20.92.21.52.22.42.23.42.24.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/NixOS/nix/security/advisories/GHSA-wf4c-57rh-9pjg
Otrahttps://github.com/NixOS/nix/commit/597fcc98e18e3178734d06a9e7306250e8cb8d74

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