VDB
GHSA-wgrg-5h56-jg27
GHSA-wgrg-5h56-jg27
PUBLISHED
CVSS 6.699999809265137 MEDIUM
Out-of-bounds write in nix::unistd::getgrouplist
Record from GitHub Advisory Database · Published June 17, 2022
nix is fixed in 0.22.2, 0.21.2 and 0.20.2 (crates.io)
Out-of-bounds write in nix::unistd::getgrouplist
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| nix | crates.io | 0.22.2, 0.21.2, 0.20.2 |
| toda | Chainguard | 0.3.0-r0 |
| nsexec | Chainguard | 0.1.7-r2 |
Risk scores
CVSS 3.1
6.699999809265137
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| crates.io | nix | 0.16.0, 0.21.0, 0.22.0 |
| chainguard | toda | 0 |
| chainguard | nsexec | 0 |
Timeline
- Jun 17, 2022 CVE Published
- Mar 2, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-wgrg-5h56-jg27
vulnetix vdb fixes GHSA-wgrg-5h56-jg27
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-wgrg-5h56-jg27/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/nix-rust/nix/issues/1541 url
- https://github.com/nix-rust/nix package
- https://rustsec.org/advisories/RUSTSEC-2021-0119.html url
- https://github.com/advisories/GHSA-wgrg-5h56-jg27 advisory
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/nix/RUSTSEC-2021-0119.md url
- https://nvd.nist.gov/vuln/detail/CVE-2021-45707 vendor-advisory
- GitHub Advisory GHSA-76w9-p8mg-j927 vendor-advisory