RUSTSEC-2020-0159
not scored yetPotential segfault in `localtime_r` invocations
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
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | chrono | >= 0.0.0-0, < 0.4.20 | 0.4.20 |
References
- https://crates.io/crates/chrono · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2020-0159.html · ADVISORY
- https://github.com/chronotope/chrono/issues/499 · REPORT
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Nov 2020)