Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.8
CVE-2020-35866: rusqlite before 0.23.0 may cause memory errors
CVE-2020-35866 · published 5 years ago
Summary
The rusqlite library for the Rust programming language, versions prior to 0.23.0, contains a flaw that can break the program's memory handling. This could lead to crashes or unexpected behavior when certain database modules are created. Upgrade to version 0.23.0 or newer to eliminate the risk.
What to do
- Update thomcc rusqlite to version 0.23.0.
- Update rusqlite_project rusqlite to version 0.23.0 or later.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| rust | thomcc | rusqlite |
< 0.23.0 Fix: upgrade to 0.23.0
|
| – | rusqlite_project | rusqlite |
< 0.23.0 cpe:2.3:a:rusqlite_project:rusqlite:*:*:*:*:*:rust:*:* |
Original advisory text
An issue was discovered in the rusqlite crate before 0.23.0 for Rust. Memory safety can be violated via create_module.
An issue was discovered in the rusqlite crate before 0.23.0 for Rust. Memory safety can be violated via create_module.
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-35868
- https://github.com/rusqlite/rusqlite/commit/45fd77ee43c38eea4d6f4e2e56c1667a55ec...
- https://github.com/advisories/GHSA-3cgf-9m6x-pwwr
- https://nvd.nist.gov/vuln/detail/CVE-2020-35873
- https://github.com/rusqlite/rusqlite/commit/ac30e169ae51b262bc8cf7026469851ce39b...
- https://github.com/advisories/GHSA-q3cc-7p7g-392c
- https://nvd.nist.gov/vuln/detail/CVE-2020-35867
- https://nvd.nist.gov/vuln/detail/CVE-2020-35869
- https://github.com/rusqlite/rusqlite/commit/2327d3b774927fdf48903c0bdc1ca7ec93c7...
- https://github.com/advisories/GHSA-8r7q-r9mx-35rh
- https://github.com/rusqlite/rusqlite/commit/3c6b57fe1b2cc87e7ebecde43dd836ffb1c4...
- https://github.com/advisories/GHSA-28ph-f7gx-fqj8
- https://nvd.nist.gov/vuln/detail/CVE-2020-35866
- https://nvd.nist.gov/vuln/detail/CVE-2020-35870
- https://github.com/advisories/GHSA-8h4j-vm3r-vcq3
- https://github.com/rusqlite/rusqlite/commit/c9ef5bd63cad5c0c123344c072b490a1a9bc...
- https://github.com/advisories/GHSA-6q5w-m3c5-rv95
- https://nvd.nist.gov/vuln/detail/CVE-2020-35871
- https://github.com/rusqlite/rusqlite/commit/2ef3628dac35aeba0a97d5fb3a57746b4e1d...
- https://github.com/advisories/GHSA-rjh8-p66p-jrh5
- https://nvd.nist.gov/vuln/detail/CVE-2020-35872
- https://github.com/rusqlite/rusqlite/commit/71b2f5187b0cbace3f8b6ff53432ff2ca0de...
- https://github.com/advisories/GHSA-g4w7-3qr8-5623
- https://github.com/rusqlite/rusqlite/releases/tag/0.23.0 Release Notes Third Party Advisory
- https://rustsec.org/advisories/RUSTSEC-2020-0014.html Third Party Advisory
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically (estimated)
- Gives an attacker full control (estimated)
Type
CWE-362Race Condition
CWE-416Use After Free
Timeline
Published31 Dec 2020
Updated3 Nov 2026
First seen6 Mar 2026
Track software like this
Free during beta