Memory Corruption Affecting rusqlite package, versions <0.23.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.43% (63rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Memory Corruption vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-RUSQLITE-1300170
  • published4 Jun 2021
  • disclosed23 Apr 2020
  • creditUnknown

Introduced: 23 Apr 2020

CVE-2020-35869  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade rusqlite to version 0.23.0 or higher.

Overview

rusqlite is a wrapper for using SQLite from Rust.

Affected versions of this package are vulnerable to Memory Corruption because rusqlite::trace::log mishandles format strings.

CVSS Base Scores

version 3.1