Skip to main content
← All vulnerabilities
CVE-2021-45707GHSA-WGRG-5H56-JG27GHSA-76W9-P8MG-J927RUSTSEC-2021-0119

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.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.20.2, 0.21.2, 0.22.2, 0.23.0
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • nixcrates.io

    From 0.16.0 · fixed in 0.20.2

  • nixcrates.io

    From 0.21.0 · fixed in 0.21.2

  • nixcrates.io

    From 0.22.0 · fixed in 0.22.2

  • nixcrates.io

    From 0.16.0 · fixed in 0.20.2; From 0.21.0-0 · fixed in 0.21.2; From 0.22.0-0 · fixed in 0.22.2; From 0.23.0-0 · fixed in 0.23.0

References 3

rustsec.org

raw.githubusercontent.com

GitHub Advisory Database