Advisory

RUSTSEC-2022-0090

Also known as: BIT-sqlite-2022-35737, CVE-2022-35737, GHSA-jw36-hf63-69r9

Summary

libsqlite3-sys via C SQLite CVE-2022-35737

Details

It was sometimes possible for SQLite versions >= 1.0.12, < 3.39.2 to allow an array-bounds overflow when large string were input into SQLite's printf function.

As libsqlite3-sys bundles SQLite, it is susceptible to the vulnerability. libsqlite3-sys was updated to bundle the patched version of SQLite here.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2022-08-03 12:00 UTC
Modified
2023-12-06 01:02 UTC

Affected packages and fixes

libsqlite3-sys

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 0.25.1 (semver)

Fixed versions

0.25.1

Fix

  • Fixed version 0.25.1
    cargo update -p libsqlite3-sys --precise 0.25.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences