CVEvulnerability

CVE-2021-45707

9.8 CRITICAL Published 2021-12-27 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2021-12-27
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
Weaknesses
CWE-787

Description

An issue was discovered in the nix crate 0.16.0 and later before 0.20.2, 0.21.x before 0.21.2, and 0.22.x before 0.22.2 for Rust. unistd::getgrouplist has an out-of-bounds write if a user is in more than 16 /etc/groups groups.

Affected configurations

• nix project nix (>= 0.16.0 < 0.20.2) • nix project nix (>= 0.21.0 < 0.21.2) • nix project nix (>= 0.22.0 < 0.22.2)

Related

Weakness · CWE (1)

  • CWE-787 Out-of-bounds Write weakness

References