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
NISTNIST
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
mitreCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 64%
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
bullseye
no-dsa
buster
not-affected
bookworm
0.26.1-3
fixed
trixie
0.27.1-5
fixed
sid
0.29.0-2
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
rust-nix
noble
needed
mantic
ignored
lunar
ignored
kinetic
ignored
jammy
needed
impish
ignored
hirsute
ignored
focal
needed
bionic
dne
xenial
ignored
trusty
ignored