This project might be open to known security vulnerabilities, which can be prevented by tightening the version range of affected dependencies. Find detailed information at the bottom.

Crate diesel

Dependencies

(22 total, 5 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 bigdecimal>=0.0.13, <0.5.00.4.10up to date
 bitflags^2.0.02.11.0up to date
 byteorder^1.01.5.0up to date
 chrono^0.4.200.4.44up to date
 diesel_derives~2.1.12.3.7out of date
 ipnet^2.5.02.12.0up to date
 ipnetwork>=0.12.2, <0.21.00.21.1out of date
 itoa^1.0.01.0.17up to date
 libc^0.2.00.2.183up to date
 libsqlite3-sys ⚠️>=0.17.2, <0.29.00.37.0out of date
 mysqlclient-sys^0.2.50.5.0out of date
 num-bigint>=0.2.0, <0.5.00.4.6up to date
 num-integer^0.1.390.1.46up to date
 num-traits^0.2.00.2.19up to date
 percent-encoding^2.1.02.3.2up to date
 pq-sys^0.4.00.7.5out of date
 quickcheck^1.0.31.1.0up to date
 r2d2>=0.8.2, <0.9.00.8.10up to date
 serde_json>=0.8.0, <2.01.0.149up to date
 time ⚠️^0.3.90.3.47maybe insecure
 url^2.1.02.5.8up to date
 uuid>=0.7.0, <2.0.01.22.0up to date

Dev dependencies

(4 total, 1 outdated)

CrateRequiredLatestStatus
 cfg-if^11.0.4up to date
 dotenvy^0.150.15.7up to date
 ipnetwork>=0.12.2, <0.21.00.21.1out of date
 quickcheck^1.0.31.1.0up to date

Security Vulnerabilities

libsqlite3-sys: `libsqlite3-sys` via C SQLite CVE-2022-35737

RUSTSEC-2022-0090

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.

time: Denial of Service via Stack Exhaustion

RUSTSEC-2026-0009

Impact

When user-provided input is provided to any type that parses with the RFC 2822 format, a denial of service attack via stack exhaustion is possible. The attack relies on formally deprecated and rarely-used features that are part of the RFC 2822 format used in a malicious manner. Ordinary, non-malicious input will never encounter this scenario.

Patches

A limit to the depth of recursion was added in v0.3.47. From this version, an error will be returned rather than exhausting the stack.

Workarounds

Limiting the length of user input is the simplest way to avoid stack exhaustion, as the amount of the stack consumed would be at most a factor of the length of the input.