Name | CVE-2021-45707 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
rust-nix (PTS) | buster | 0.13.0-1 | fixed |
| bullseye | 0.19.0-1 | vulnerable |
| bookworm | 0.26.1-3 | fixed |
| sid, trixie | 0.29.0-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
rust-nix | source | buster | (not affected) | | | |
rust-nix | source | (unstable) | 0.23.0-1 | | | |
Notes
[bullseye] - rust-nix <no-dsa> (Minor issue)
[buster] - rust-nix <not-affected> (Introduced in 0.16)
https://rustsec.org/advisories/RUSTSEC-2021-0119.html