CVE-2021-28305

CRITICAL

diesel < 1.4.6 - Use-After-Free in SQLite Backend

Title source: llm
STIX 2.1

Description

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 (1)

Core 1
Core References
Third Party Advisory x_refsource_misc
https://rustsec.org/advisories/RUSTSEC-2021-0037.html

Scores

CVSS v3 9.8
EPSS 0.0132
EPSS Percentile 67.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-416
Status published
Products (2)
crates.io/diesel 0 - 1.4.6crates.io
diesel/diesel < 1.4.6
Published Mar 12, 2021
Tracked Since Feb 18, 2026