Lucene search

K
cve[email protected]CVE-2024-38531
HistoryJun 28, 2024 - 2:15 p.m.

CVE-2024-38531

2024-06-2814:15:03
CWE-278
web.nvd.nist.gov
13
nix
package manager
linux
unix
permission change
build directory
setuid binary
hijack
security vulnerability
patch

3.6 Low

CVSS3

Attack Vector

LOCAL

Attack Complexity

HIGH

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

LOW

Availability Impact

LOW

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

3.9 Low

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.1%

Nix is a package manager for Linux and other Unix systems that makes package management reliable and reproducible. A build process has access to and can change the permissions of the build directory. After creating a setuid binary in a globally accessible location, a malicious local user can assume the permissions of a Nix daemon worker and hijack all future builds. This issue was patched in version(s) 2.23.1, 2.22.2, 2.21.3, 2.20.7, 2.19.5 and 2.18.4.

Affected configurations

Vulners
Node
nixosnixRange2.23.02.23.1
OR
nixosnixRange2.22.02.22.2
OR
nixosnixRange2.21.02.21.3
OR
nixosnixRange2.20.02.20.7
OR
nixosnixRange2.19.02.19.5
OR
nixosnixRange2.18.02.18.4

CNA Affected

[
  {
    "vendor": "NixOS",
    "product": "nix",
    "versions": [
      {
        "version": ">= 2.23.0, < 2.23.1",
        "status": "affected"
      },
      {
        "version": ">= 2.22.0, < 2.22.2",
        "status": "affected"
      },
      {
        "version": ">= 2.21.0, < 2.21.3",
        "status": "affected"
      },
      {
        "version": ">= 2.20.0, < 2.20.7",
        "status": "affected"
      },
      {
        "version": ">= 2.19.0, < 2.19.5",
        "status": "affected"
      },
      {
        "version": ">= 2.18.0, < 2.18.4",
        "status": "affected"
      }
    ]
  }
]

3.6 Low

CVSS3

Attack Vector

LOCAL

Attack Complexity

HIGH

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

LOW

Availability Impact

LOW

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

3.9 Low

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.1%

Related for CVE-2024-38531