Out-of-bounds Write Affecting nsexec package, versions <0.1.7-r2


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-CHAINGUARDLATEST-NSEXEC-16693595
  • published14 May 2026
  • 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 Chainguard nsexec to version 0.1.7-r2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nsexec package and not the nsexec package as distributed by Chainguard. See How to fix? for Chainguard 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