2024-12-08 03:06:42 +00:00

158 lines
4.7 KiB
JSON

{
"id": "CVE-2021-45707",
"sourceIdentifier": "cve@mitre.org",
"published": "2021-12-27T00:15:09.940",
"lastModified": "2024-11-21T06:32:56.013",
"vulnStatus": "Modified",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "Se ha descubierto un problema en las cajas nix versi\u00f3n 0.16.0 y posteriores antes de la versi\u00f3n 0.20.2, 0.21.x antes de la versi\u00f3n 0.21.2 y 0.22.x antes de la versi\u00f3n 0.22.2 para Rust. unistd::getgrouplist tiene una escritura fuera de l\u00edmites si un usuario est\u00e1 en m\u00e1s de 16 grupos /etc/groups."
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "nvd@nist.gov",
"type": "Primary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 3.9,
"impactScore": 5.9
}
],
"cvssMetricV2": [
{
"source": "nvd@nist.gov",
"type": "Primary",
"cvssData": {
"version": "2.0",
"vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
"baseScore": 7.5,
"accessVector": "NETWORK",
"accessComplexity": "LOW",
"authentication": "NONE",
"confidentialityImpact": "PARTIAL",
"integrityImpact": "PARTIAL",
"availabilityImpact": "PARTIAL"
},
"baseSeverity": "HIGH",
"exploitabilityScore": 10.0,
"impactScore": 6.4,
"acInsufInfo": false,
"obtainAllPrivilege": false,
"obtainUserPrivilege": false,
"obtainOtherPrivilege": false,
"userInteractionRequired": false
}
]
},
"weaknesses": [
{
"source": "nvd@nist.gov",
"type": "Primary",
"description": [
{
"lang": "en",
"value": "CWE-787"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:nix_project:nix:*:*:*:*:*:rust:*:*",
"versionStartIncluding": "0.16.0",
"versionEndExcluding": "0.20.2",
"matchCriteriaId": "CF1F6B59-1726-44F2-9977-2DD41F85778E"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:nix_project:nix:*:*:*:*:*:rust:*:*",
"versionStartIncluding": "0.21.0",
"versionEndExcluding": "0.21.2",
"matchCriteriaId": "BDBC1037-D26C-4EA0-AF66-09397A824AC3"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:nix_project:nix:*:*:*:*:*:rust:*:*",
"versionStartIncluding": "0.22.0",
"versionEndExcluding": "0.22.2",
"matchCriteriaId": "970096C2-F01C-4E38-A3C1-314A59F9E8B3"
}
]
}
]
}
],
"references": [
{
"url": "https://github.com/advisories/GHSA-wgrg-5h56-jg27",
"source": "cve@mitre.org",
"tags": [
"Third Party Advisory"
]
},
{
"url": "https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/nix/RUSTSEC-2021-0119.md",
"source": "cve@mitre.org",
"tags": [
"Third Party Advisory"
]
},
{
"url": "https://rustsec.org/advisories/RUSTSEC-2021-0119.html",
"source": "cve@mitre.org",
"tags": [
"Issue Tracking",
"Third Party Advisory"
]
},
{
"url": "https://github.com/advisories/GHSA-wgrg-5h56-jg27",
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Third Party Advisory"
]
},
{
"url": "https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/nix/RUSTSEC-2021-0119.md",
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Third Party Advisory"
]
},
{
"url": "https://rustsec.org/advisories/RUSTSEC-2021-0119.html",
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Issue Tracking",
"Third Party Advisory"
]
}
]
}