RUSTSEC-2018-0021

Source
https://rustsec.org/advisories/RUSTSEC-2018-0021
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2018-0021.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2018-0021
Aliases
Published
2018-06-15T12:00:00Z
Modified
2023-11-08T04:00:15.029606Z
Summary
Use-after-free with objects returned by `Stream`'s `get_format_info` and `get_context` methods
Details

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.

Database specific
{
    "license": "CC0-1.0"
}
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
0.0.0-0
Fixed
1.2.1

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "os": [],
        "functions": [
            "libpulse_binding::stream::Stream::get_context",
            "libpulse_binding::stream::Stream::get_format_info"
        ],
        "arch": []
    }
}

Database specific

{
    "cvss": null,
    "informational": null,
    "categories": [
        "memory-corruption"
    ]
}