Out-of-bounds Write The advisory has been revoked - it doesn't affect any version of package rust-nix  (opens in a new tab)


Threat Intelligence

EPSS
1.69% (77th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2504-RUSTNIX-9818706
  • published26 Apr 2025
  • disclosed27 Dec 2021

Introduced: 27 Dec 2021

CVE-2021-45707  (opens in a new tab)
CWE-787  (opens in a new tab)

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:25.04.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rust-nix package and not the rust-nix package as distributed by Ubuntu.

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.