Products
Nix Package Manager
- 2.24
- 2.24.1
- 2.24.2
- 2.24.3
- 2.24.4
- 2.24.5
Source
security-advisories@github.com
Tags
CVE-2024-45593 details
Published : Sept. 10, 2024, 4:15 p.m.
Last Modified : Sept. 10, 2024, 5:43 p.m.
Last Modified : Sept. 10, 2024, 5:43 p.m.
Description
Nix is a package manager for Linux and other Unix systems. A bug in Nix 2.24 prior to 2.24.6 allows a substituter or malicious user to craft a NAR that, when unpacked by Nix, causes Nix to write to arbitrary file system locations to which the Nix process has access. This will be with root permissions when using the Nix daemon. This issue is fixed in Nix 2.24.6.
CVSS Score
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9.0 | 10 |
---|
Weakness
Weakness | Name | Description |
---|---|---|
CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. |
CVSS Data
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
Scope
CHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Base Score
9.0
Exploitability Score
2.3
Impact Score
6.0
Base Severity
CRITICAL
Vector String : CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
References
URL | Source |
---|---|
https://github.com/NixOS/nix/commit/eb11c1499876cd4c9c188cbda5b1003b36ce2e59 | security-advisories@github.com |
https://github.com/NixOS/nix/security/advisories/GHSA-h4vv-h3jq-v493 | security-advisories@github.com |
This website uses the NVD API, but is not approved or certified by it.