CVE-2021-45707

Severity CVSS v4.0:
Pending analysis
Type:
CWE-787 Out-of-bounds Write
Publication date:
27/12/2021
Last modified:
28/10/2022

Description

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:nix_project:nix:*:*:*:*:*:rust:*:* 0.16.0 (including) 0.20.2 (excluding)
cpe:2.3:a:nix_project:nix:*:*:*:*:*:rust:*:* 0.21.0 (including) 0.21.2 (excluding)
cpe:2.3:a:nix_project:nix:*:*:*:*:*:rust:*:* 0.22.0 (including) 0.22.2 (excluding)