Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
CVE-2021-45707 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/advisories/GHSA-wgrg-5h56-jg27 | CVE | Third Party Advisory |
| https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/nix/RUSTSEC-2021-0119.md | CVE | Third Party Advisory |
| https://rustsec.org/advisories/RUSTSEC-2021-0119.html | CVE | Issue TrackingThird Party Advisory |
| https://github.com/advisories/GHSA-wgrg-5h56-jg27 | [email protected] | Third Party Advisory |
| https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/nix/RUSTSEC-2021-0119.md | [email protected] | Third Party Advisory |
| https://rustsec.org/advisories/RUSTSEC-2021-0119.html | [email protected] | Issue TrackingThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| nix project nix | >= 0.16.0, < 0.20.2 >= 0.21.0, < 0.21.2 >= 0.22.0, < 0.22.2 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Oct 28, 2022 | Modified Analysis | [email protected] |
| Sep 9, 2022 | CVE Modified | [email protected] |
| Jan 6, 2022 | Initial Analysis | [email protected] |