CVE-2021-45707
Security vulnerability in nix
How to Fix This Vulnerability
Upgrade to a fixed version
Remediation Steps
- 1Upgrade the package to version 0.20.2, 0.21.2, 0.22.2 or later
- 2Review and audit affected systems for potential exploitation
- 3Implement additional security controls if immediate patching is not possible
- 4Monitor for suspicious activity related to this vulnerability
Mitigation Strategies
- Immediate PatchingCritical
Apply security patches to version 0.20.2, 0.21.2, 0.22.2 immediately
- Network SegmentationHigh
Isolate affected systems from untrusted networks until patching is complete
- Monitoring and DetectionMedium
Implement enhanced monitoring for exploitation attempts and unusual behavior
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.
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. This vulnerability involves weaknesses in
Impact Assessment
This critical vulnerability poses an immediate and severe threat to system security. Exploitation could lead to complete system compromise, data breach, or denial of service. Immediate action is required.
Attack Characteristics
- Attack Vector
- NETWORK
- Complexity
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
CVSS v3.1 Metrics Breakdown
- attack Vector
- NETWORK
- attack Complexity
- LOW
- privileges Required
- NONE
- user Interaction
- NONE
- scope
- Unchanged
- confidentiality Impact
- High
- integrity Impact
- High
- availability Impact
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HVulnerability Timeline
- 2021-12-27T00:15:09.940Vulnerability publishedpublished
- 2021-12-27T00:15:09.940Patches released: 0.20.2, 0.21.2, 0.22.2patched