PT-2020-17498
CVE-2020-35866
·
Published
2020-04-23
·
Updated
2022-01-04
Description by
CVSS 3.1
9.8
CriticalMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
rusqlite versions prior to 0.23.0
Description
An issue was discovered in the rusqlite crate for Rust, where memory safety can be violated via various means, including VTab / VTabCursor, Auxdata API use-after-free, UnlockNotification, sessions.rs use-after-free, the repr(Rust) type, rusqlite::trace::log mishandling format strings, Auxdata API data race, and create module.
Recommendations
For versions prior to 0.23.0, update to version 0.23.0 or later to resolve the issue.
As a temporary workaround, consider restricting the use of the vulnerable components, such as VTab / VTabCursor, Auxdata API, UnlockNotification, sessions.rs, repr(Rust) type, rusqlite::trace::log, and create module, until a patch is available.
Found an issue in the description? Have something to add? Feel free to write us 👾