CVSS 3.1
9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCritical (9.8) in nix project nix. EPSS 1.7% estimated probability of exploitation activity in the next 30 days. Fixed in nix 0.20.2, 0.21.2, 0.22.2.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hnix (crates.io): fixed in 0.20.2, 0.21.2, 0.22.2, 0.23.0Explain CVE-2021-45707 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-45707?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-45707?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-45707 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| nix_project:nix | from 0.16.0 before 0.20.2 |
| nix_project:nix | from 0.21.0 before 0.21.2 |
| nix_project:nix | from 0.22.0 before 0.22.2 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-76w9-p8mg-j927 | crates.io | nix | >=0.16.0 <0.20.2 | 0.20.2 |
| GHSA-76w9-p8mg-j927 | crates.io | nix | >=0.21.0 <0.21.2 | 0.21.2 |
| GHSA-76w9-p8mg-j927 | crates.io | nix | >=0.22.0 <0.22.2 | 0.22.2 |
| GHSA-wgrg-5h56-jg27 | crates.io | nix | >=0.16.0 <0.20.2 | 0.20.2 |
| GHSA-wgrg-5h56-jg27 | crates.io | nix | >=0.21.0 <0.21.2 | 0.21.2 |
| GHSA-wgrg-5h56-jg27 | crates.io | nix | >=0.22.0 <0.22.2 | 0.22.2 |
| RUSTSEC-2021-0119 | crates.io | nix | >=0.16.0 <0.20.2 >=0.21.0-0 <0.21.2 >=0.22.0-0 <0.22.2 >=0.23.0-0 <0.23.0 | 0.20.2, 0.21.2, 0.22.2, 0.23.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | rust-nix | 0.23.0-1 | DEBIAN-CVE-2021-45707 |
| Ubuntu | 20.04:LTS, 22.04:LTS, 24.04:LTS and 3 more | rust-nix | no fix listed | UBUNTU-CVE-2021-45707 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.