{"id":"EUVD-2022-0497","enisaUuid":"130de5ff-64c3-3f2b-a1b5-9b7932616251","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.","datePublished":"Dec 26, 2021, 9:48:02 PM","dateUpdated":"Aug 4, 2024, 4:47:02 AM","baseScore":null,"references":"https://rustsec.org/advisories/RUSTSEC-2021-0119.html\nhttps://raw.githubusercontent.com/rustsec/advisory-db/main/crates/nix/RUSTSEC-2021-0119.md\nhttps://github.com/advisories/GHSA-wgrg-5h56-jg27\n","aliases":"CVE-2021-45707\nGHSA-76w9-p8mg-j927\n","assigner":"mitre","epss":1.69,"enisaIdProduct":[{"id":"125c2f2a-bd2b-387f-aacb-df2082ac61a4","product":{"name":"n/a","vendor":{"name":"n/a"}},"product_version":"n/a"}],"enisaIdVendor":[{"id":"bbe1e944-a508-3880-ab5b-df90938e440d","vendor":{"name":"n/a"}}],"enisaIdVulnerability":[{"id":"78cc9dbd-0e2d-3e53-bb02-d476c763f49d","vulnerability":{"id":"GHSA-76w9-p8mg-j927","description":"Out-of-bounds Write in nix","datePublished":"Jan 6, 2022, 10:07:14 PM","dateUpdated":"Feb 21, 2024, 7:15:12 PM","baseScore":null,"references":"https://nvd.nist.gov/vuln/detail/CVE-2021-45707\nhttps://github.com/nix-rust/nix/issues/1541\nhttps://github.com/advisories/GHSA-wgrg-5h56-jg27\nhttps://github.com/nix-rust/nix\nhttps://raw.githubusercontent.com/rustsec/advisory-db/main/crates/nix/RUSTSEC-2021-0119.md\nhttps://rustsec.org/advisories/RUSTSEC-2021-0119.html\n","enisa_id":"EUVD-2022-0497\n","aliases":"GHSA-76w9-p8mg-j927\nCVE-2021-45707\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:06:27 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"c795bf27-a803-3f0e-9287-1e6e048fc2f4","vulnerability":{"id":"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.","datePublished":"Dec 26, 2021, 9:48:02 PM","dateUpdated":"Aug 4, 2024, 4:47:02 AM","status":"PUBLISHED","baseScore":null,"references":"https://rustsec.org/advisories/RUSTSEC-2021-0119.html\nhttps://raw.githubusercontent.com/rustsec/advisory-db/main/crates/nix/RUSTSEC-2021-0119.md\nhttps://github.com/advisories/GHSA-wgrg-5h56-jg27\n","enisa_id":"EUVD-2022-0497\n","assigner":"mitre","epss":1.69,"dataProcessed":"Nov 15, 2026, 7:22:03 AM","vulnerabilityProduct":[{"id":"fd6a603e-cd21-370c-9c4a-b88c07845dcb","product":{"name":"n/a","vendor":{"name":"n/a"}},"product_version":"n/a"}],"vulnerabilityVendor":[{"id":"09bafd70-aec0-3081-b435-01239349d565","vendor":{"name":"n/a"}}]}}],"enisaIdAdvisory":[{"id":"363519bc-4299-3578-9772-958b325f38f8","advisory":{"id":"msrc_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.","datePublished":"Dec 2, 2021, 12:00:00 AM","dateUpdated":"Feb 18, 2026, 2:09:27 AM","baseScore":0.0,"references":"https://msrc.microsoft.com/csaf/vex/2021/msrc_cve-2021-45707.json\n","aliases":"CVE-2021-45707\n","source":{"id":20,"name":"csaf_microsoft"},"advisoryProduct":[{"id":"11805515-0ab2-3e13-9615-98b96dc12681","product":{"name":"\u003cazl3 rpm-ostree 2024.4-1","vendor":{"name":"Microsoft"}}},{"id":"381f4a62-8572-3c15-b36d-e754ccb58fa1","product":{"name":"\u003cazl3 rpm-ostree 2022.1-7","vendor":{"name":"Microsoft"}}},{"id":"57cbf72a-7400-38bc-95f7-122a4afc8819","product":{"name":"Azure Linux","vendor":{"name":"Microsoft"}}},{"id":"60a47d9c-e867-38d5-b687-c3366819425d","product":{"name":"azl3 rpm-ostree 2024.4-1","vendor":{"name":"Microsoft"}}},{"id":"641d0df2-093c-33c4-9d43-f28ee6067402","product":{"name":"3.0","vendor":{"name":"Wind River"}}},{"id":"99b18081-5734-35f2-b387-ad241f8bdd40","product":{"name":"rpm-ostree","vendor":{"name":"Microsoft"}}},{"id":"d31a13f9-438d-3689-b33f-1e380cca6c3f","product":{"name":"azl3 rpm-ostree 2022.1-7","vendor":{"name":"Microsoft"}}}]}}]}