Fix a use-after-free bug in diesels Sqlite backend
Critical severity
GitHub Reviewed
Published
May 24, 2022
to the GitHub Advisory Database
•
Updated Jan 27, 2023
Description
Published by the National Vulnerability Database
Mar 12, 2021
Published to the GitHub Advisory Database
May 24, 2022
Reviewed
Jun 16, 2022
Last updated
Jan 27, 2023
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