CVE-2021-45707
Publication date 27 December 2021
Last updated 11 July 2025
Ubuntu priority
Cvss 3 Severity Score
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.
Status
| Package | Ubuntu Release | Status | 
|---|---|---|
| rust-nix | 25.10 questing | 
                                Vulnerable 
                                
                               | 
| 25.04 plucky | 
                                Vulnerable 
                                
                               | |
| 24.04 LTS noble | 
                                Vulnerable 
                                
                               | |
| 22.04 LTS jammy | 
                                Vulnerable 
                                
                               | |
| 20.04 LTS focal | 
                                Vulnerable 
                                
                               | |
| 18.04 LTS bionic | Not in release | |
| 16.04 LTS xenial | Ignored end of standard support | |
| 14.04 LTS trusty | Ignored end of standard support | 
Severity score breakdown
| Parameter | Value | 
|---|---|
| Base score |  | 
| Attack vector | Network | 
| Attack complexity | Low | 
| Privileges required | None | 
| User interaction | None | 
| Scope | Unchanged | 
| Confidentiality | High | 
| Integrity impact | High | 
| Availability impact | High | 
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |