Paper/Archive/CVE-2021-45707

CVE-2021-45707

mitre — 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.

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
n/an/a–CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References

refrustsec.org/advisories/RUSTSEC-2021-0119.htmlrefraw.githubusercontent.com/rustsec/advisory-db/main/crates/nix/RUSTSEC-2021-0119.mdrefgithub.com/advisories/GHSA-wgrg-5h56-jg27