GitHub Advisoryadvisory · crates.io
GHSA-hxjf-h2mh-r6hj Use After Free in libpulse-binding
HIGH
Official page ↗
- Aliases
- CVE-2018-25027
- Ecosystem
- crates.io
- Packages
- libpulse-binding
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-416
- Reviewed
- 2022-01-06
Affected packages
• crates.io libpulse-binding: < 1.2.1 → fixed in 1.2.1
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.
Related
Alias · CVE (1)
- CVE-2018-25027 An issue was discovered in the libpulse-binding crate before 1.2.1 for Rust. vulnerability
Weakness · CWE (1)
- CWE-416 Use After Free weakness
References
- https://github.com/jnqnfe/pulse-binding-rust/security/advisories/GHSA-ghpq-vjxw-ch5w web
- https://nvd.nist.gov/vuln/detail/CVE-2018-25027 advisory
- https://github.com/jnqnfe/pulse-binding-rust package
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/libpulse-binding/RUSTSEC-2018-0021.md web
- https://rustsec.org/advisories/RUSTSEC-2018-0021.html web