mirror of
https://github.com/rustsec/advisory-db.git
synced 2026-12-01 00:21:19 -06:00
75 lines
2.1 KiB
JSON
75 lines
2.1 KiB
JSON
[
|
|
{
|
|
"id": "RUSTSEC-2021-0086",
|
|
"modified": "2023-06-13T13:10:24Z",
|
|
"published": "2021-01-07T12:00:00Z",
|
|
"aliases": [
|
|
"CVE-2021-45684",
|
|
"GHSA-p46c-w9m3-7qr2",
|
|
"GHSA-p56p-gq3f-whg8"
|
|
],
|
|
"related": [],
|
|
"summary": "`Read` on uninitialized buffer may cause UB ( `read_entry()` )",
|
|
"details": "Affected versions of this crate passes an uninitialized buffer to a user-provided `Read` implementation.\nThere are two of such cases (`go_offset_log::read_entry()` & `offset_log::read_entry()`).\n\nArbitrary `Read` implementations can read from the uninitialized buffer (memory exposure) and also can return incorrect number of bytes written to the buffer.\nReading from uninitialized memory produces undefined values that can quickly invoke undefined behavior.",
|
|
"severity": [],
|
|
"affected": [
|
|
{
|
|
"package": {
|
|
"ecosystem": "crates.io",
|
|
"name": "flumedb",
|
|
"purl": "pkg:cargo/flumedb"
|
|
},
|
|
"ecosystem_specific": {
|
|
"affects": {
|
|
"arch": [],
|
|
"os": [],
|
|
"functions": []
|
|
},
|
|
"affected_functions": null
|
|
},
|
|
"database_specific": {
|
|
"categories": [
|
|
"memory-exposure"
|
|
],
|
|
"cvss": null,
|
|
"informational": "unsound"
|
|
},
|
|
"ranges": [
|
|
{
|
|
"type": "SEMVER",
|
|
"events": [
|
|
{
|
|
"introduced": "0.0.0-0"
|
|
},
|
|
{
|
|
"fixed": "0.1.6"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"versions": []
|
|
}
|
|
],
|
|
"references": [
|
|
{
|
|
"type": "PACKAGE",
|
|
"url": "https://crates.io/crates/flumedb"
|
|
},
|
|
{
|
|
"type": "ADVISORY",
|
|
"url": "https://rustsec.org/advisories/RUSTSEC-2021-0086.html"
|
|
},
|
|
{
|
|
"type": "REPORT",
|
|
"url": "https://github.com/sunrise-choir/flumedb-rs/issues/10"
|
|
},
|
|
{
|
|
"type": "WEB",
|
|
"url": "https://github.com/sunrise-choir/flumedb-rs/pull/12"
|
|
}
|
|
],
|
|
"database_specific": {
|
|
"license": "CC0-1.0"
|
|
}
|
|
}
|
|
] |