GHSA-j8q9-5rp9-4mv9

Suggest an improvement
Source
https://github.com/advisories/GHSA-j8q9-5rp9-4mv9
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-j8q9-5rp9-4mv9/GHSA-j8q9-5rp9-4mv9.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-j8q9-5rp9-4mv9
Aliases
Published
2022-05-24T17:44:31Z
Modified
2023-11-08T04:05:29.499484Z
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
Fix a use-after-free bug in diesels Sqlite backend
Details

An issue was discovered in the diesel crate before 1.4.6 for Rust. There is a use-after-free in the SQLite backend because the semantics of sqlite3columnname are not followed.

Database specific
{
    "nvd_published_at": "2021-03-12T09:15:00Z",
    "github_reviewed_at": "2022-06-16T23:50:24Z",
    "severity": "CRITICAL",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-416"
    ]
}
References

Affected packages

crates.io / diesel

Package

Affected ranges

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