CVE-2019-16881 – portaudio-rs
Package
Manager: cargo
Name: portaudio-rs
Vulnerable Version: >=0 <0.3.2
Severity
Level: Critical
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS: 0.00455 pctl0.62964
Details
Use after free in portaudio-rs 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 .
Metadata
Created: 2021-08-25T20:45:17Z
Modified: 2023-06-13T20:35:06Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-qpjr-ch72-2qq4/GHSA-qpjr-ch72-2qq4.json
CWE IDs: ["CWE-416"]
Alternative ID: GHSA-qpjr-ch72-2qq4
Finding: F138
Auto approve: 1