Use After Free in Diesel

CVE-2021-28305

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.

Vulnerability class: Use-After-Free

EPSS: 0.013 (67.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-28305?
CVE-2021-28305 is a critical-severity vulnerability in Diesel, classified under Use After Free. CVSS score: 9.8/10. Published 2021-03-12.
How severe is CVE-2021-28305?
Critical severity. CVSS v3 base score is 9.8 out of 10.