GHSA-QM2P-4W45-V2VR
Vulnerability from github – Published: 2025-02-10 18:07 – Updated: 2025-02-10 18:07
VLAI?
Summary
grcov has an out of bounds write triggered by crafted coverage data
Details
Function grcov::covdir::get_coverage uses the unsafe function get_unchecked_mut without validating that the index is in bounds.
This results in memory corruption, and could potentially allow arbitrary code execution provided that an attacker can feed the tool crafted coverage data.
{
"affected": [
{
"package": {
"ecosystem": "crates.io",
"name": "grcov"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.8.20"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [],
"database_specific": {
"cwe_ids": [
"CWE-787"
],
"github_reviewed": true,
"github_reviewed_at": "2025-02-10T18:07:30Z",
"nvd_published_at": null,
"severity": "MODERATE"
},
"details": "Function `grcov::covdir::get_coverage` uses the `unsafe` function `get_unchecked_mut` without validating that the index is in bounds.\n\nThis results in memory corruption, and could potentially allow arbitrary code execution provided that an attacker can feed the tool crafted coverage data.",
"id": "GHSA-qm2p-4w45-v2vr",
"modified": "2025-02-10T18:07:30Z",
"published": "2025-02-10T18:07:30Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/mozilla/grcov/commit/c8219563bc91615dd4a27884a5c63f09db8d03bb"
},
{
"type": "WEB",
"url": "https://bugzilla.mozilla.org/show_bug.cgi?id=1917475"
},
{
"type": "PACKAGE",
"url": "https://github.com/mozilla/grcov"
},
{
"type": "WEB",
"url": "https://rustsec.org/advisories/RUSTSEC-2025-0005.html"
}
],
"schema_version": "1.4.0",
"severity": [],
"summary": "grcov has an out of bounds write triggered by crafted coverage data"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…