GHSA-cqpr-pcm7-m3jc
MEDIUMwithdrawn / rejectedPotential 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.
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | chrono | < 0.4.20 | 0.4.20 |
References
- https://github.com/chronotope/chrono/issues/499 · WEB
- https://github.com/time-rs/time/issues/293 · WEB
- https://github.com/chronotope/chrono · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2020-0159.html · WEB
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Jun 2022)