GHSA-28ph-f7gx-fqj8

Suggest an improvement
Source
https://github.com/advisories/GHSA-28ph-f7gx-fqj8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-28ph-f7gx-fqj8/GHSA-28ph-f7gx-fqj8.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-28ph-f7gx-fqj8
Aliases
Published
2021-08-25T20:47:57Z
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
Data races in rusqlite
Details

An issue was discovered in the rusqlite crate before 0.23.0 for Rust. Memory safety can be violated via create_module.

Database specific
{
    "nvd_published_at": "2020-12-31T10:15:00Z",
    "cwe_ids": [
        "CWE-362"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-19T21:08:12Z"
}
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"
    ]
}