GHSA-4qr3-m7ww-hh9g

Suggest an improvement
Source
https://github.com/advisories/GHSA-4qr3-m7ww-hh9g
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-4qr3-m7ww-hh9g/GHSA-4qr3-m7ww-hh9g.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4qr3-m7ww-hh9g
Aliases
Published
2022-01-06T22:01:40Z
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. commit_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:15:20Z"
}
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::commit_hook"
    ]
}

crates.io / rusqlite

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.26.0
Fixed
0.26.2

Ecosystem specific

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