Use After Free Affecting libpulse-binding package, versions >=1.0.5 <2.5.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (27th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-LIBPULSEBINDING-1315685
  • published1 Jul 2021
  • disclosed22 Dec 2018
  • creditUnknown

Introduced: 22 Dec 2018

CVE-2018-25001  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade libpulse-binding to version 2.5.0 or higher.

Overview

libpulse-binding is a Rust language binding for the PulseAudio libpulse library.

Affected versions of this package are vulnerable to Use After Free. There is 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.

CVSS Scores

version 3.1