- 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.
- Source
- cve@mitre.org
- NVD status
- Analyzed
CVSS 3.1
- Type
- Primary
- Base score
- 9.8
- Impact score
- 5.9
- Exploitability score
- 3.9
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Severity
- CRITICAL
CVSS 2.0
- Type
- Primary
- Base score
- 7.5
- Impact score
- 6.4
- Exploitability score
- 10
- Vector string
- AV:N/AC:L/Au:N/C:P/I:P/A:P
- nvd@nist.gov
- CWE-787
- Hype score
- Not currently trending
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:nix_project:nix:*:*:*:*:*:rust:*:*",
"vulnerable": true,
"matchCriteriaId": "CF1F6B59-1726-44F2-9977-2DD41F85778E",
"versionEndExcluding": "0.20.2",
"versionStartIncluding": "0.16.0"
},
{
"criteria": "cpe:2.3:a:nix_project:nix:*:*:*:*:*:rust:*:*",
"vulnerable": true,
"matchCriteriaId": "BDBC1037-D26C-4EA0-AF66-09397A824AC3",
"versionEndExcluding": "0.21.2",
"versionStartIncluding": "0.21.0"
},
{
"criteria": "cpe:2.3:a:nix_project:nix:*:*:*:*:*:rust:*:*",
"vulnerable": true,
"matchCriteriaId": "970096C2-F01C-4E38-A3C1-314A59F9E8B3",
"versionEndExcluding": "0.22.2",
"versionStartIncluding": "0.22.0"
}
],
"operator": "OR"
}
]
}
]