GHSA-hxjf-h2mh-r6hj

Suggest an improvement
Source
https://github.com/advisories/GHSA-hxjf-h2mh-r6hj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-hxjf-h2mh-r6hj/GHSA-hxjf-h2mh-r6hj.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hxjf-h2mh-r6hj
Aliases
Published
2022-01-06T22:20:12Z
Modified
2023-11-08T04:00:15.029606Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Use After Free in libpulse-binding
Details

Affected versions contained a pair of use-after-free issues with the objects returned by the getformatinfo 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.

Database specific
{
    "nvd_published_at": "2021-12-27T00:15:00Z",
    "cwe_ids": [
        "CWE-416"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2022-01-06T18:32:15Z"
}
References

Affected packages

crates.io / libpulse-binding

Package

Name
libpulse-binding
View open source insights on deps.dev
Purl
pkg:cargo/libpulse-binding

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.2.1

Ecosystem specific

{
    "affected_functions": [
        "libpulse_binding::stream::Stream::get_context",
        "libpulse_binding::stream::Stream::get_format_info"
    ]
}