{"id":"EUVD-2022-0497","revision":"774c51c1a6014d089751340eb31c4e65","records":[{"revision":"774c51c1a6014d089751340eb31c4e65","observedAt":"2026-11-16T01:31:51.286+00:00","statement":{"source":"euvd","id":"EUVD-2022-0497","aliases":["CVE-2021-45707","GHSA-76w9-p8mg-j927"],"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 0.22.2 for Rust. unistd::getgrouplist has an out-of-bounds write if a user is in more than 16 /etc/groups groups.","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[],"references":["https://rustsec.org/advisories/RUSTSEC-2021-0119.html","https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/nix/RUSTSEC-2021-0119.md","https://github.com/advisories/GHSA-wgrg-5h56-jg27"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-0497","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Dec 26, 2021, 9:48:02 PM","dateUpdated":"Aug 4, 2024, 4:47:02 AM"},"relatedAdvisories":[{"id":"msrc_CVE-2021-45707","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 0.22.2 for Rust. unistd::getgrouplist has an out-of-bounds write if a user is in more than 16 /etc/groups groups.","vulnerabilityIds":["CVE-2021-45707"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2022-0497","identifiers":["EUVD-2022-0497","CVE-2021-45707","GHSA-76w9-p8mg-j927"]},"retained":false,"historicalAffected":[]}],"coverage":[]}