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.
Published: 2021-12-26
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

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.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

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

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

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