GHSA-8h4j-vm3r-vcq3

Suggest an improvement
Source
https://github.com/advisories/GHSA-8h4j-vm3r-vcq3
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-8h4j-vm3r-vcq3/GHSA-8h4j-vm3r-vcq3.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-8h4j-vm3r-vcq3
Aliases
Published
2021-08-25T20:47:48Z
Modified
2024-03-15T00:05:20.033730Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Use after free in rusqlite
Details

An issue was discovered in the rusqlite crate before 0.23.0 for Rust. Memory safety can be violated via an Auxdata API use-after-free.

Database specific
{
    "nvd_published_at": "2020-12-31T10:15:00Z",
    "cwe_ids": [
        "CWE-416"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-19T21:08:47Z"
}
References

Affected packages

crates.io / rusqlite

Package

Affected ranges

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

Ecosystem specific

{
    "affected_functions": [
        "rusqlite::Connection::get_aux",
        "rusqlite::Connection::set_aux",
        "rusqlite::session::Session::attach",
        "rusqlite::session::Session::diff",
        "rusqlite::trace::log",
        "rusqlite::vtab::create_module"
    ]
}