portaudio-rs
Affected
- introduced
0.0.0-0, fixed0.3.2-0(semver)
Fixed versions
0.3.2-0
Fix
- Fixed version
0.3.2-0cargo update -p portaudio-rs --precise 0.3.2-0
Advisory
Also known as: CVE-2019-16881, GHSA-qpjr-ch72-2qq4
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.
Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
0.0.0-0, fixed 0.3.2-0 (semver)0.3.2-0
0.3.2-0cargo update -p portaudio-rs --precise 0.3.2-0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: RustSec Advisory Database · CC0-1.0