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.
{
"cpe": "cpe:2.3:a:nix_project:nix:*:*:*:*:*:rust:*:*",
"source": "CPE_RANGE",
"extracted_events": [
{
"introduced": "0.16.0"
},
{
"fixed": "0.20.2"
},
{
"introduced": "0.21.0"
},
{
"fixed": "0.21.2"
},
{
"introduced": "0.22.0"
},
{
"fixed": "0.22.2"
}
]
}