mirror of
https://github.com/rustsec/advisory-db.git
synced 2025-12-27 01:54:07 -05: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.
751 B
751 B
[advisory]
id = "RUSTSEC-2019-0022"
package = "portaudio-rs"
aliases = ["CVE-2019-16881"]
categories = ["code-execution", "memory-corruption"]
date = "2019-09-14"
keywords = ["audio", "ffi"]
url = "https://github.com/mvdnes/portaudio-rs/issues/20"
[versions]
patched = ["> 0.3.1"]
Stream callback function is not unwind safe
Affected versions of this crate is not panic safe within callback functions stream_callback and stream_finished_callback.
The call to user-provided closure might panic before a mem::forget call, which then causes a use after free that grants attacker to control the callback function pointer.
This allows an attacker to construct an arbitrary code execution .
The flaw was reported by Phosphorus15.