jnqnfe/pulse-binding-rust · Security
Use After Free in libpulse-binding
- GHSA ID
- GHSA-jqpv-jm4m-86j9
- CVE ID
- CVE-2018-25028
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Description
Affected versions contained a pair of use-after-free issues with the objects returned by the get_format_info and get_context methods of Stream objects. These objects were mistakenly being constructed without setting an important flag to prevent destruction of the underlying C objects they reference upon their own destruction.
CWEs
- CWE-416 · Use After Free
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-25028 ↗
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/libpulse-binding/RUSTSEC-2018-0021.md ↗
- https://rustsec.org/advisories/RUSTSEC-2018-0021.html ↗
- https://github.com/jnqnfe/pulse-binding-rust/security/advisories/GHSA-ghpq-vjxw-ch5w ↗
- https://github.com/advisories/GHSA-jqpv-jm4m-86j9 ↗