mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2025-12-27 23:08:06 +01:00
As proposed in #240 and tracked in #414, this PR translates all advisories into the new "V3" advisory format, which is based on Markdown with leading TOML front matter. This format makes it easier to see rendered Markdown syntax descriptions, whether rendered by an IDE or GitHub. This should help with both crafting advisories initially as well as review, and ideally encourages more lengthy descriptions. Support for this format shipped in `cargo-audit` v0.12.0 on May 6th, 2020.
785 B
785 B
[advisory]
id = "RUSTSEC-2018-0011"
package = "arrayfire"
aliases = ["CVE-2018-20998"]
categories = ["memory-corruption"]
date = "2018-12-18"
keywords = ["enum", "repr"]
url = "https://github.com/arrayfire/arrayfire-rust/pull/177"
[affected]
arch = ["x86_64"]
os = ["windows"]
[versions]
patched = [">= 3.6.0"]
unaffected = ["<= 3.5.0"]
Enum repr causing potential memory corruption
The attribute repr() added to enums to be compatible with C-FFI caused memory corruption on MSVC toolchain.
arrayfire crates <= version 3.5.0 do not have this issue when used with Rust versions 1.27 or earlier. The issue only started to appear since Rust version 1.28.
The issue seems to be interlinked with which version of Rust is being used.
The issue was fixed in crate 3.6.0.