Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-51481— Nix allows macOS sandbox escape via built-in builders

Quick assessment

Affected
NixOS nix
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Nix是Nix开源的一个强大的包管理器。用于制作包。 Nix存在安全漏洞,该漏洞源于macOS上内置构建器未在macOS沙箱中执行,导致这些构建器能够访问沙箱外部的全局可读路径和全局可写路径。

AI Predicted 3.3 Difficulty: Hard EPSS 0.17% · P6
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-51481

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Nix allows macOS sandbox escape via built-in builders
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
保护机制失效
Source: CVE Program / CVE List V5
Vulnerability Title
Nix 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Nix是Nix开源的一个强大的包管理器。用于制作包。 Nix存在安全漏洞,该漏洞源于macOS上内置构建器未在macOS沙箱中执行,导致这些构建器能够访问沙箱外部的全局可读路径和全局可写路径。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
NixOS nix < 2.18.9 -

II. Public POCs for CVE-2024-51481

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-51481

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-51481 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2024-51481

No comments yet


Leave a comment