What’s Vulnerable › Vulnerabilities

RUSTSEC-2020-0159: Potential segfault in `localtime_r` invocations

Description

### 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 - [time-rs/time#293](https://github.com/time-rs/time/issues/293)

Affected products

How to fix

Upgrade to a fixed version: Crates.Io Chrono 0.4.20. Check the vendor advisory for mitigations.

References

Get alerted when RUSTSEC-2020-0159 or the next vulnerability affects your stack