CVE-2021-45707

Published Dec 26, 2021 CVSS 3.1 · 9.8 Critical EPSS 1.7% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-0497 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.
Github GHSA Github GHSA GHSA-76w9-p8mg-j927 Out-of-bounds Write in nix
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 4:47 AM
Reserved
Dec 26, 2021, 12:00 AM
Status
Modified
Published
Dec 27, 2021, 12:15 AM
Modified
Jun 17, 2026, 4:13 AM