
CVE catalog
CVE-2021-45707
rust-nix: CVE-2021-45707
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.69% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | rust-nix | sid | 0.30.1-3 | fixed |
| Debian | rust-nix | forky | 0.30.1-3 | fixed |
| Debian | rust-nix | trixie | 0.29.0-2 | fixed |
| Debian | rust-nix | bookworm | 0.26.1-3 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | rust-nix | source | sid | 0.23.0-1 | not yet assigned | Not reported | Not reported |
| Debian | rust-nix | source | forky | 0.23.0-1 | not yet assigned | Not reported | Not reported |
| Debian | rust-nix | source | trixie | 0.23.0-1 | not yet assigned | Not reported | Not reported |
| Debian | rust-nix | source | bookworm | 0.23.0-1 | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [librust-nix-dev]Fixed
Source package: [rust-nix]
Details (2)
0.26.1-3· amd64 · bookwormFixed · Fixed:
0.23.0-1dsa · rust-nix · debian · bookworm; dsa · rust-nix · debian · 12
0.26.1-3· arm64 · bookwormFixed · Fixed:
0.23.0-1dsa · rust-nix · debian · bookworm; dsa · rust-nix · debian · 12
[Debian 13 (Trixie)]
- [librust-nix-dev]Fixed
Source package: [rust-nix]
Details (2)
0.29.0-2· amd64 · trixieFixed · Fixed:
0.23.0-1dsa · rust-nix · debian · 13
0.29.0-2· arm64 · trixieFixed · Fixed:
0.23.0-1dsa · rust-nix · debian · 13
Observed: