CVE-2021-45707
Last modified
CVE-2021-45707 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 1.64% chance of exploitation in the next 30 days.
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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nix Project | Nix | >= 0.16.0, < 0.20.2 |
| Nix Project | Nix | >= 0.21.0, < 0.21.2 |
| Nix Project | Nix | >= 0.22.0, < 0.22.2 |
References
- https://github.com/advisories/GHSA-wgrg-5h56-jg27Third Party Advisory
- https://rustsec.org/advisories/RUSTSEC-2021-0119.htmlIssue Tracking, Third Party Advisory
- https://github.com/advisories/GHSA-wgrg-5h56-jg27Third Party Advisory
- https://rustsec.org/advisories/RUSTSEC-2021-0119.htmlIssue Tracking, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-45707?
How severe is CVE-2021-45707?
How do I fix CVE-2021-45707?
Are you affected by CVE-2021-45707?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
