CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021

CVE-2021-45707
Nix Project Nix vulnerability

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.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Nix. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Nix Project Nix runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.