Out-of-bounds Write Affecting rust-nix package, versions <0.23.0-1


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

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-DEBIAN13-RUSTNIX-5695157
  • published4 Jan 2022
  • disclosed27 Dec 2021

Introduced: 27 Dec 2021

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

How to fix?

Upgrade Debian:13 rust-nix to version 0.23.0-1 or higher.

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 Debian. See How to fix? for Debian:13 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1