What’s Vulnerable › Vulnerabilities
CVE-2021-28305
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-03-12 · updated 2026-06-17
- Weakness: CWE-416
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.
Affected products
- Diesel: before 1.4.6 — fixed in 1.4.6
How to fix
Upgrade to a fixed version: Diesel 1.4.6. Check the vendor advisory for mitigations.
References
- https://rustsec.org/advisories/RUSTSEC-2021-0037.html
- https://rustsec.org/advisories/RUSTSEC-2021-0037.html
Get alerted when CVE-2021-28305 or the next vulnerability affects your stack