CVE-2021-45707

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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
9.8 CRITICAL
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 73%
Affected Products (NVD)
VendorProductVersion
nix_projectnix
0.16.0 ≤
𝑥
< 0.20.2
nix_projectnix
0.21.0 ≤
𝑥
< 0.21.2
nix_projectnix
0.22.0 ≤
𝑥
< 0.22.2
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
rust-nix
bookworm
0.26.1-3
fixed
bullseye
no-dsa
buster
not-affected
sid
0.29.0-2
fixed
trixie
0.27.1-5
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
rust-nix
bionic
dne
focal
needed
hirsute
ignored
impish
ignored
jammy
needed
kinetic
ignored
lunar
ignored
mantic
ignored
noble
needed
trusty
ignored
xenial
ignored
Azure Linux logo
Azure Linux Releases
Azure Package
Release
rpm-ostree
Azure Linux 3.0
0:2024.4-1.azl3
fixed