mirror of
https://github.com/rustsec/advisory-db.git
synced 2026-11-30 10:14:32 -06:00
77 lines
1.9 KiB
JSON
77 lines
1.9 KiB
JSON
[
|
|
{
|
|
"id": "RUSTSEC-2020-0007",
|
|
"modified": "2023-06-13T13:10:24Z",
|
|
"published": "2020-03-27T12:00:00Z",
|
|
"aliases": [
|
|
"CVE-2020-35862",
|
|
"GHSA-7cjc-hvxf-gqh7"
|
|
],
|
|
"related": [],
|
|
"summary": "use-after or double free of allocated memory",
|
|
"details": "Conversion of `BitVec` to `BitBox` did not account for allocation movement.\n\nThe flaw was corrected by using the address after resizing, rather than the original base address.",
|
|
"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": "bitvec",
|
|
"purl": "pkg:cargo/bitvec"
|
|
},
|
|
"ecosystem_specific": {
|
|
"affects": {
|
|
"arch": [],
|
|
"os": [],
|
|
"functions": [
|
|
"bitvec::vec::BitVec::into_boxed_bitslice"
|
|
]
|
|
},
|
|
"affected_functions": null
|
|
},
|
|
"database_specific": {
|
|
"categories": [
|
|
"memory-corruption"
|
|
],
|
|
"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.11.0"
|
|
},
|
|
{
|
|
"fixed": "0.17.4"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"versions": []
|
|
}
|
|
],
|
|
"references": [
|
|
{
|
|
"type": "PACKAGE",
|
|
"url": "https://crates.io/crates/bitvec"
|
|
},
|
|
{
|
|
"type": "ADVISORY",
|
|
"url": "https://rustsec.org/advisories/RUSTSEC-2020-0007.html"
|
|
},
|
|
{
|
|
"type": "REPORT",
|
|
"url": "https://github.com/myrrlyn/bitvec/issues/55"
|
|
}
|
|
],
|
|
"database_specific": {
|
|
"license": "CC0-1.0"
|
|
}
|
|
}
|
|
] |