GHSA-j8q9-5rp9-4mv9
Dashboard / Vulnerabilities / GHSA-j8q9-5rp9-4mv9
GHSA-j8q9-5rp9-4mv9
Published: 24 May 2022Last Modified: 8 Nov 2023
Aliases:
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 sqlite3_column_name are not followed.
References: https://nvd.nist.gov/vuln/detail/CVE-2021-28305, https://github.com/diesel-rs/diesel/pull/2663, https://github.com/diesel-rs/diesel, https://rustsec.org/advisories/RUSTSEC-2021-0037.html
Affected packages
Package
Name: diesel
Purl: pkg:cargo/diesel
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -1.4.6
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
