Lucene search

K
cvelistGitHub_MCVELIST:CVE-2024-27297
HistoryMar 11, 2024 - 9:24 p.m.

CVE-2024-27297 Nix Corruption of fixed-output derivations

2024-03-1121:24:43
CWE-367
GitHub_M
www.cve.org
nix
linux
unix
package manager
fixed-output
derivations
corruption
cve-2024-27297
vulnerability
upgrade

6.3 Medium

CVSS3

Attack Vector

ADJACENT

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

LOW

CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L

6.4 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.5%

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.

CNA Affected

[
  {
    "vendor": "NixOS",
    "product": "nix",
    "versions": [
      {
        "version": ">= 2.3.0, < 2.3.18",
        "status": "affected"
      },
      {
        "version": ">= 2.4.0, < 2.18.2",
        "status": "affected"
      },
      {
        "version": ">= 2.19.0, < 2.19.4",
        "status": "affected"
      },
      {
        "version": ">= 2.20.0, < 2.20.5",
        "status": "affected"
      }
    ]
  }
]

6.3 Medium

CVSS3

Attack Vector

ADJACENT

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

LOW

CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L

6.4 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.5%