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 libsql

Dependencies

(33 total, 12 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 anyhow^1.0.711.0.100up to date
 async-stream^0.3.50.3.6up to date
 async-trait^0.10.1.89up to date
 base64^0.210.22.1out of date
 bincode^12.0.1out of date
 bitflags^2.4.02.10.0up to date
 bytes^1.4.01.11.0up to date
 chrono ⚠️^0.40.4.42maybe insecure
 crc32fast^11.5.0up to date
 fallible-iterator^0.30.3.0up to date
 futures^0.3.280.3.31up to date
 http^0.21.3.1out of date
 hyper ⚠️^0.141.8.1out of date
 hyper-rustls^0.250.27.7out of date
 libsql-hrana^0.9.290.9.29up to date
 libsql-sys^0.9.290.9.29up to date
 libsql_replication^0.9.290.9.29up to date
 parking_lot^0.12.10.12.5up to date
 serde^11.0.228up to date
 serde_json^11.0.145up to date
 libsql-sqlite3-parser^0.130.13.0up to date
 thiserror^1.0.402.0.17out of date
 tokio^1.29.11.48.0up to date
 tokio-stream^0.1.140.1.17up to date
 tokio-util^0.70.7.17up to date
 tonic^0.110.14.2out of date
 tonic-web^0.110.14.2out of date
 tower^0.4.130.5.2out of date
 tower-http^0.4.40.6.6out of date
 tracing^0.1.370.1.41up to date
 uuid^1.4.01.18.1up to date
 worker^0.4.10.6.7out of date
 zerocopy^0.7.280.8.27out of date

Dev dependencies

(7 total, 3 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 criterion^0.50.7.0out of date
 pprof^0.14.00.15.0out of date
 rand^0.8.50.9.2out of date
 tempfile^3.7.03.23.0up to date
 tokio^1.29.11.48.0up to date
 tokio-test^0.40.4.4up to date
 tracing-subscriber ⚠️^0.30.3.20maybe insecure

Security Vulnerabilities

chrono: Potential segfault in `localtime_r` invocations

RUSTSEC-2020-0159

Impact

Unix-like operating systems may segfault due to dereferencing a dangling pointer in specific circumstances. This requires an environment variable to be set in a different thread than the affected functions. This may occur without the user's knowledge, notably in a third-party library.

Workarounds

No workarounds are known.

References

hyper: Lenient `hyper` header parsing of `Content-Length` could allow request smuggling

RUSTSEC-2021-0078

hyper's HTTP header parser accepted, according to RFC 7230, illegal contents inside Content-Length headers. Due to this, upstream HTTP proxies that ignore the header may still forward them along if it chooses to ignore the error.

To be vulnerable, hyper must be used as an HTTP/1 server and using an HTTP proxy upstream that ignores the header's contents but still forwards it. Due to all the factors that must line up, an attack exploiting this vulnerability is unlikely.

hyper: Integer overflow in `hyper`'s parsing of the `Transfer-Encoding` header leads to data loss

RUSTSEC-2021-0079

When decoding chunk sizes that are too large, hyper's code would encounter an integer overflow. Depending on the situation, this could lead to data loss from an incorrect total size, or in rarer cases, a request smuggling attack.

To be vulnerable, you must be using hyper for any HTTP/1 purpose, including as a client or server, and consumers must send requests or responses that specify a chunk size greater than 18 exabytes. For a possible request smuggling attack to be possible, any upstream proxies must accept a chunk size greater than 64 bits.

tracing-subscriber: Logging user input may result in poisoning logs with ANSI escape sequences

RUSTSEC-2025-0055

Previous versions of tracing-subscriber were vulnerable to ANSI escape sequence injection attacks. Untrusted user input containing ANSI escape sequences could be injected into terminal output when logged, potentially allowing attackers to:

  • Manipulate terminal title bars
  • Clear screens or modify terminal display
  • Potentially mislead users through terminal manipulation

In isolation, impact is minimal, however security issues have been found in terminal emulators that enabled an attacker to use ANSI escape sequences via logs to exploit vulnerabilities in the terminal emulator.

This was patched in PR #3368 to escape ANSI control characters from user input.