GHSA-g4w7-3qr8-5623

Suggest an improvement
Source
https://github.com/advisories/GHSA-g4w7-3qr8-5623
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-g4w7-3qr8-5623/GHSA-g4w7-3qr8-5623.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-g4w7-3qr8-5623
Aliases
Published
2021-08-25T20:47:01Z
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
Improper type usage in rusqlite
Details

An issue was discovered in the rusqlite crate before 0.23.0 for Rust. Memory safety can be violated via the repr(Rust) type.

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