Files
advisory-db/packages/rio.json
T
2025-10-27 16:49:06 +00:00

73 lines
2.0 KiB
JSON

[
{
"id": "RUSTSEC-2020-0021",
"modified": "2023-06-13T13:10:24Z",
"published": "2020-05-11T12:00:00Z",
"aliases": [
"CVE-2020-35876",
"GHSA-8rc5-mr4f-m243"
],
"related": [],
"summary": "rio allows a use-after-free buffer access when a future is leaked",
"details": "When a `rio::Completion` is leaked, its drop code will not run. The drop code\nis responsible for waiting until the kernel completes the I/O operation into, or\nout of, the buffer borrowed by `rio::Completion`. Leaking the struct will allow\none to access and/or drop the buffer, which can lead to a use-after-free,\ndata races or leaking secrets.\n\nUpstream is not interested in fixing the issue.",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"package": {
"ecosystem": "crates.io",
"name": "rio",
"purl": "pkg:cargo/rio"
},
"ecosystem_specific": {
"affects": {
"arch": [],
"os": [],
"functions": []
},
"affected_functions": null
},
"database_specific": {
"categories": [
"memory-corruption",
"memory-exposure"
],
"cvss": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"informational": null
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.0.0-0"
}
]
}
],
"versions": []
}
],
"references": [
{
"type": "PACKAGE",
"url": "https://crates.io/crates/rio"
},
{
"type": "ADVISORY",
"url": "https://rustsec.org/advisories/RUSTSEC-2020-0021.html"
},
{
"type": "REPORT",
"url": "https://github.com/spacejam/rio/issues/11"
}
],
"database_specific": {
"license": "CC0-1.0"
}
}
]