Critical, CVSS 9.8crates.ioPublished
Use after free in portaudio-rs
CVE-2019-16881 · GHSA-qpjr-ch72-2qq4
- Affected
- crates.io portaudio-rs < 0.3.2
- Fixed in
- 0.3.2· Vendor fix available
- Issue
- Affected versions of this crate is not panic safe within callback functions streamcallback and streamfinishedcallback. 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 .
Recommended action: Upgrade to 0.3.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.