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

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-04T04:47:02.459Z

Reserved: 2021-12-26T00:00:00

Link: CVE-2021-45707

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-12-27T00:15:09.940

Modified: 2024-11-21T06:32:56.013

Link: CVE-2021-45707

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses