GHSA-g87r-23vw-7f87

Suggest an improvement
Source
https://github.com/advisories/GHSA-g87r-23vw-7f87
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-g87r-23vw-7f87/GHSA-g87r-23vw-7f87.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-g87r-23vw-7f87
Aliases
Published
2022-01-06T22:00:21Z
Modified
2024-03-15T00:05:18.748750Z
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 rusqlite
Details

An issue was discovered in the rusqlite crate 0.25.x before 0.25.4 and 0.26.x before 0.26.2 for Rust. update_hook has a use-after-free.

Database specific
{
    "nvd_published_at": "2021-12-26T22:15:00Z",
    "cwe_ids": [
        "CWE-416"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2022-01-05T21:01:21Z"
}
References

Affected packages

crates.io / rusqlite

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.25.0
Fixed
0.25.4

Ecosystem specific

{
    "affected_functions": [
        "rusqlite::Connection::update_hook"
    ]
}

crates.io / rusqlite

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.26.0
Fixed
0.26.2

Ecosystem specific

{
    "affected_functions": [
        "rusqlite::Connection::update_hook"
    ]
}