This project contains known security vulnerabilities. Find detailed information at the bottom.

Crate rusqlite

Dependencies

(14 total, 1 insecure)

CrateRequiredLatestStatus
 time^0.2.230.2.25up to date
 bitflags^1.21.2.1up to date
 hashlink^0.60.6.0up to date
 chrono^0.40.4.19up to date
 serde_json^1.01.0.62up to date
 csv^1.11.1.5up to date
 url^2.12.2.1up to date
 lazy_static^1.41.4.0up to date
 byteorder^1.31.4.2up to date
 fallible-iterator^0.20.2.0up to date
 fallible-streaming-iterator^0.10.1.9up to date
 memchr^2.32.3.4up to date
 uuid^0.80.8.2up to date
 smallvec^1.01.6.1insecure

Dev dependencies

(7 total, all up-to-date)

CrateRequiredLatestStatus
 doc-comment^0.30.3.3up to date
 tempfile^3.1.03.2.0up to date
 lazy_static^1.41.4.0up to date
 regex^1.31.4.3up to date
 uuid^0.80.8.2up to date
 unicase^2.6.02.6.0up to date
 bencher^0.10.1.5up to date

Crate libsqlite3-sys

Build dependencies

(3 total, all up-to-date)

CrateRequiredLatestStatus
 bindgen^0.570.57.0up to date
 pkg-config^0.30.3.19up to date
 cc^1.01.0.67up to date

Security Vulnerabilities

smallvec: Buffer overflow in SmallVec::insert_many

RUSTSEC-2021-0003

A bug in the SmallVec::insert_many method caused it to allocate a buffer that was smaller than needed. It then wrote past the end of the buffer, causing a buffer overflow and memory corruption on the heap.

This bug was only triggered if the iterator passed to insert_many yielded more items than the lower bound returned from its size_hint method.

The flaw was corrected in smallvec 0.6.14 and 1.6.1, by ensuring that additional space is always reserved for each item inserted. The fix also simplified the implementation of insert_many to use less unsafe code, so it is easier to verify its correctness.

Thank you to Yechan Bae (@Qwaz) and the Rust group at Georgia Tech’s SSLab for finding and reporting this bug.