Advisory

GHSA-ghpq-vjxw-ch5w

Also known as: CVE-2018-25027, CVE-2018-25028, GHSA-hxjf-h2mh-r6hj, GHSA-jqpv-jm4m-86j9, RUSTSEC-2018-0021

Summary

Use after free in libpulse-binding

Details

Overview

Version 1.2.1 of the libpulse-binding Rust crate, released on the 15th of June 2018, fixed 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.

This advisory is being written retrospectively, having previously only been noted in the changelog. No CVE assignment was sought.

Patches

Users are required to update to version 1.2.1 or newer.

Versions older than 1.2.1 have been yanked from crates.io. This was believed to have already been done at the time of the 1.2.1 release, but upon double checking now they were found to still be available, so has been done now (22nd October 2020).

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-08-25 20:56 UTC
Modified
2023-11-08 04:00 UTC

Affected packages and fixes

libpulse-binding

crates.io · All systems

Affected

  • introduced 0, fixed 1.2.1 (semver)

Fixed versions

1.2.1

Fix

  • Fixed version 1.2.1
    cargo update -p libpulse-binding --precise 1.2.1

Fix 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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences