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 apistos-schemars


(18 total, 1 outdated, 2 possibly insecure)

 arrayvec^ to date
 bigdecimal^ to date
 bytes^ to date
 chrono ⚠️^ insecure
 dyn-clone^ to date
 either^ to date
 enumset^ to date
 indexmap^ to date
 ipnetwork^ to date
 rust_decimal^11.35.0up to date
 apistos-schemars_derive= to date
 semver^ to date
 serde^ to date
 serde_json^ to date
 smallvec ⚠️^ insecure
 smol_str^ of date
 url^ to date
 uuid^ to date

Dev dependencies

(2 total, all up-to-date)

 pretty_assertions^ to date
 trybuild^ to date

Security Vulnerabilities

chrono: Potential segfault in `localtime_r` invocations



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.


No workarounds are known.


smallvec: Buffer overflow in SmallVec::insert_many


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.