{"id":"CVE-2021-45707","published":"2021-12-26T21:48:02Z","modified":"2024-08-04T04:47:02Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0169,"percentile":0.77636,"provenance":"source"},"cwes":[],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0119.html","tags":["x_refsource_MISC"]},{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/nix/RUSTSEC-2021-0119.md","tags":["x_refsource_MISC"]},{"url":"https://github.com/advisories/GHSA-wgrg-5h56-jg27","tags":["x_refsource_MISC"]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":15.53}]},"affected":[{"ecosystem":"crates.io","package":"nix","vulnerableRanges":[">=0.16.0, <0.20.2",">=0.21.0, <0.21.2",">=0.22.0, <0.22.2",">=0.21.0-0, <0.21.2",">=0.22.0-0, <0.22.2",">=0.23.0-0, <0.23.0"],"patched":["0.20.2","0.21.2","0.22.2","0.23.0"],"from":["GHSA-76w9-p8mg-j927","RUSTSEC-2021-0119"],"provenance":"source"}],"summary":{"text":"The flaw is an out-of-bounds write in the unistd::getgrouplist function of the nix crate, a Rust library, in versions 0.16.0 and later before 0.20.2, 0.21.x before 0.21.2, and 0.22.x before 0.22.2.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:41:25Z"},"euvd":{"id":"EUVD-2022-0497","exploited":false,"provenance":"source"}}