Security mailing lists by PureSourceCode

CVE-2024-27297

MEDIUM 5.9CVSS 3.1

Nix is a package manager for Linux and other Unix systems. A fixed-output derivations on Linux can send file descriptors to files in the Nix store to another program running on the host (or another fixed-output derivation) via Unix domain sockets in the abstract namespace. This allows to modify the output of the derivation, after Nix has registered the path as "valid" and immutable in the Nix database. In particular, this allows the output of fixed-output derivations to be modified from their expected content. This issue has been addressed in versions 2.3.18 2.18.2 2.19.4 and 2.20.5. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Published
11 Mar 2024
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-367
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.3 CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD nixos nix
cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*
< 2.3.18 2.3.18
NVD nixos nix
cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*
>= 2.4, < 2.18.2 2.18.2
NVD nixos nix
cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*
>= 2.19.0, < 2.19.4 2.19.4
NVD nixos nix
cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*
>= 2.20.0, < 2.20.5 2.20.5

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 11 Mar 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.