{ "id": "CVE-2021-28877", "sourceIdentifier": "cve@mitre.org", "published": "2021-04-11T20:15:12.737", "lastModified": "2024-11-21T06:00:21.373", "vulnStatus": "Modified", "cveTags": [], "descriptions": [ { "lang": "en", "value": "In the standard library in Rust before 1.51.0, the Zip implementation calls __iterator_get_unchecked() for the same index more than once when nested. This bug can lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait." }, { "lang": "es", "value": "En la biblioteca est\u00e1ndar en Rust versiones anteriores a 1.51.0, la implementaci\u00f3n de Zip llama a la funci\u00f3n __iterator_get_unchecked() para el mismo \u00edndice m\u00e1s de una vez cuando est\u00e1 anidado. Este bug puede conllevar a una violaci\u00f3n de seguridad de la memoria debido a un requisito de seguridad no cumplido para el rasgo TrustedRandomAccess" } ], "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:N/I:N/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH" }, "exploitabilityScore": 3.9, "impactScore": 3.6 } ], "cvssMetricV2": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "2.0", "vectorString": "AV:N/AC:L/Au:N/C:N/I:N/A:P", "baseScore": 5.0, "accessVector": "NETWORK", "accessComplexity": "LOW", "authentication": "NONE", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "PARTIAL" }, "baseSeverity": "MEDIUM", "exploitabilityScore": 10.0, "impactScore": 2.9, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-119" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:rust-lang:rust:*:*:*:*:*:*:*:*", "versionEndExcluding": "1.51.0", "matchCriteriaId": "C9E57FE9-6452-4391-B83F-677045452AAC" } ] } ] } ], "references": [ { "url": "https://github.com/rust-lang/rust/pull/80670", "source": "cve@mitre.org", "tags": [ "Issue Tracking", "Patch", "Third Party Advisory" ] }, { "url": "https://security.gentoo.org/glsa/202210-09", "source": "cve@mitre.org", "tags": [ "Third Party Advisory" ] }, { "url": "https://github.com/rust-lang/rust/pull/80670", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Issue Tracking", "Patch", "Third Party Advisory" ] }, { "url": "https://security.gentoo.org/glsa/202210-09", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Third Party Advisory" ] } ] }