From 5567be9db8d5b0a2dfbeacfeb74c97dccd1ae6ce Mon Sep 17 00:00:00 2001 From: github-actions Date: Sat, 17 Feb 2024 17:41:30 +0000 Subject: [PATCH] Update OSV exported data --- crates/RUSTSEC-2023-0080.json | 62 +++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 crates/RUSTSEC-2023-0080.json diff --git a/crates/RUSTSEC-2023-0080.json b/crates/RUSTSEC-2023-0080.json new file mode 100644 index 000000000..546062b60 --- /dev/null +++ b/crates/RUSTSEC-2023-0080.json @@ -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(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" + } +} \ No newline at end of file