CVE-2021-45707

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:nix_project:nix:*:*:*:*:*:rust:*:*
cpe:2.3:a:nix_project:nix:*:*:*:*:*:rust:*:*
cpe:2.3:a:nix_project:nix:*:*:*:*:*:rust:*:*

History

21 Nov 2024, 06:32

Type Values Removed Values Added
References () https://github.com/advisories/GHSA-wgrg-5h56-jg27 - Third Party Advisory () https://github.com/advisories/GHSA-wgrg-5h56-jg27 - Third Party Advisory
References () https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/nix/RUSTSEC-2021-0119.md - Third Party Advisory () https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/nix/RUSTSEC-2021-0119.md - Third Party Advisory
References () https://rustsec.org/advisories/RUSTSEC-2021-0119.html - Issue Tracking, Third Party Advisory () https://rustsec.org/advisories/RUSTSEC-2021-0119.html - Issue Tracking, Third Party Advisory

Information

Published : 2021-12-27 00:15

Updated : 2024-11-21 06:32


NVD link : CVE-2021-45707

Mitre link : CVE-2021-45707

CVE.ORG link : CVE-2021-45707


JSON object : View

Products Affected

nix_project

  • nix
CWE
CWE-787

Out-of-bounds Write