Advisory

RUSTSEC-2018-0020

Also known as: CVE-2018-25001, GHSA-6gvc-4jvj-pwq4, GHSA-f56g-chqp-22m9

Summary

Possible use-after-free with proplist::Iterator

Details

Affected versions contained a possible use-after-free issue with property list iteration
due to a lack of a lifetime constraint tying the lifetime of a proplist::Iterator to the
Proplist object for which it was created. This made it possible for users, without
experiencing a compiler error/warning, to destroy the Proplist object before the iterator,
thus destroying the underlying C object the iterator works upon, before the iterator may be
finished with it.

This impacts all versions of the crate before 2.5.0 back to 1.0.5. Before version
1.0.5 the function that produces the iterator was broken to the point of being useless.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Dates

Published
2018-12-22 12:00 UTC
Modified
2026-10-12 18:00 UTC

Affected packages and fixes

libpulse-binding

crates.io · All systems

Affected

  • introduced 1.0.5, fixed 2.5.0 (semver)

Fixed versions

2.5.0

Fix

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

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: RustSec Advisory Database · CC0-1.0

Sources & licences