← Back to CVEs
CVE-2021-45707
CRITICAL9.8
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.
CVE Details
CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published12/27/2021
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0
Affected Products
nix_project:nix
Weaknesses (CWE)
CWE-787
References
https://github.com/advisories/GHSA-wgrg-5h56-jg27(cve@mitre.org)
https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/nix/RUSTSEC-2021-0119.md(cve@mitre.org)
https://rustsec.org/advisories/RUSTSEC-2021-0119.html(cve@mitre.org)
https://github.com/advisories/GHSA-wgrg-5h56-jg27(af854a3a-2127-422b-91ae-364da2661108)
https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/nix/RUSTSEC-2021-0119.md(af854a3a-2127-422b-91ae-364da2661108)
https://rustsec.org/advisories/RUSTSEC-2021-0119.html(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.