mirror of
https://github.com/rustsec/advisory-db.git
synced 2026-11-30 18:24:31 -06:00
Update OSV exported data
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"id": "RUSTSEC-2023-0080",
|
||||
"modified": "2024-02-17T17:41:17Z",
|
||||
"published": "2023-12-18T12:00:00Z",
|
||||
"aliases": [],
|
||||
"related": [],
|
||||
"summary": "Buffer overflow due to integer overflow in `transpose`",
|
||||
"details": "Given the function `transpose::transpose`:\n```rust\nfn transpose<T: Copy>(input: &[T], output: &mut [T], input_width: usize, input_height: usize)\n```\n\nThe safety check `input_width * input_height == output.len()` can fail due to `input_width * input_height` overflowing in such a way that it equals `output.len()`.\nAs a result of failing the safety check, memory past the end of `output` is written to. This only occurs in release mode since `*` panics on overflow in debug mode.\n\nExploiting this issue requires the caller to pass `input_width` and `input_height` arguments such that multiplying them overflows, and the overflown result equals the lengths of input and output slices.",
|
||||
"severity": [],
|
||||
"affected": [
|
||||
{
|
||||
"package": {
|
||||
"ecosystem": "crates.io",
|
||||
"name": "transpose",
|
||||
"purl": "pkg:cargo/transpose"
|
||||
},
|
||||
"ecosystem_specific": {
|
||||
"affects": {
|
||||
"arch": [],
|
||||
"os": [],
|
||||
"functions": [
|
||||
"transpose::transpose"
|
||||
]
|
||||
}
|
||||
},
|
||||
"database_specific": {
|
||||
"categories": [
|
||||
"memory-corruption"
|
||||
],
|
||||
"cvss": null,
|
||||
"informational": null
|
||||
},
|
||||
"ranges": [
|
||||
{
|
||||
"type": "SEMVER",
|
||||
"events": [
|
||||
{
|
||||
"introduced": "0.0.0-0"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"references": [
|
||||
{
|
||||
"type": "PACKAGE",
|
||||
"url": "https://crates.io/crates/transpose"
|
||||
},
|
||||
{
|
||||
"type": "ADVISORY",
|
||||
"url": "https://rustsec.org/advisories/RUSTSEC-2023-0080.html"
|
||||
},
|
||||
{
|
||||
"type": "REPORT",
|
||||
"url": "https://github.com/ejmahler/transpose/issues/11"
|
||||
}
|
||||
],
|
||||
"database_specific": {
|
||||
"license": "CC0-1.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user