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 tantivy

Dependencies

(48 total, 23 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 aho-corasick^1.01.1.5up to date
 arc-swap^1.5.01.9.2up to date
 async-trait^0.1.530.1.92up to date
 base64^0.21.00.23.1out of date
 bitpacking^0.8.40.9.3out of date
 byteorder^1.4.31.5.0up to date
 census^0.4.00.4.2up to date
 tantivy-columnar^0.20.7.0out of date
 tantivy-common^0.60.11.0out of date
 crc32fast^1.3.21.5.1up to date
 crossbeam-channel^0.5.40.5.17up to date
 downcast-rs^1.2.02.0.2out of date
 fail^0.5.00.5.1up to date
 fastdivide^0.4.00.4.2up to date
 fs4^0.6.31.1.0out of date
 futures-util^0.3.280.3.34up to date
 htmlescape^0.3.10.3.1up to date
 itertools^0.11.00.15.0out of date
 levenshtein_automata^0.2.10.2.1up to date
 log^0.4.160.4.34up to date
 lru^0.11.00.18.4out of date
 lz4_flex^0.110.14.0out of date
 measure_time^0.8.20.9.0out of date
 memmap2^0.7.10.9.11out of date
 murmurhash32^0.3.00.4.0out of date
 num_cpus^1.13.11.17.0up to date
 once_cell^1.10.01.21.4up to date
 oneshot^0.1.50.2.1out of date
 tantivy-query-grammar^0.21.00.26.0out of date
 rayon^1.5.21.12.0up to date
 regex^1.5.51.13.1up to date
 rust-stemmers^1.2.01.2.0up to date
 rustc-hash^1.1.02.1.3out of date
 serde^1.0.1361.0.229up to date
 serde_json^1.0.791.0.151up to date
 sketches-ddsketch^0.2.10.4.1out of date
 smallvec^1.8.01.16.0up to date
 tantivy-sstable^0.20.7.0out of date
 tantivy-stacker^0.20.7.0out of date
 tantivy-bitpacker^0.50.10.0out of date
 tantivy-fst^0.4.00.5.0out of date
 tempfile^3.3.03.27.0up to date
 thiserror^1.0.302.0.20out of date
 time ⚠️^0.3.100.3.55maybe insecure
 tantivy-tokenizer-api^0.20.7.0out of date
 uuid^1.0.01.26.0up to date
 winapi^0.3.90.3.9up to date
 zstd^0.120.14.0out of date

Dev dependencies

(13 total, 4 outdated)

CrateRequiredLatestStatus
 criterion^0.50.8.2out of date
 env_logger^0.10.00.11.11out of date
 fail^0.5.00.5.1up to date
 futures^0.3.210.3.34up to date
 maplit^1.0.21.0.2up to date
 matches^0.1.90.1.10up to date
 more-asserts^0.3.10.3.1up to date
 paste^1.0.111.0.15up to date
 pretty_assertions^1.2.11.4.1up to date
 proptest^1.0.01.11.0up to date
 rand^0.8.50.10.2out of date
 rand_distr^0.4.30.6.0out of date
 test-log^0.2.100.2.21up to date

Security Vulnerabilities

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.