RUSTSEC-2020-0159
Dashboard / Vulnerabilities / RUSTSEC-2020-0159
RUSTSEC-2020-0159
Published: 10 Nov 2020Last Modified: 4 Feb 2026
Aliases:
Summary: Potential segfault in `localtime_r` invocations
Details: ### 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)
References: https://crates.io/crates/chrono, https://rustsec.org/advisories/RUSTSEC-2020-0159.html, https://github.com/chronotope/chrono/issues/499
Affected packages
Package
Name: chrono
Purl: pkg:cargo/chrono
Affected ranges
Type: SEMVER
Events:
Introduced- 0.0.0-0
Fixed -0.4.20
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
