GHSA-cqpr-pcm7-m3jc
Dashboard / Vulnerabilities / GHSA-cqpr-pcm7-m3jc
GHSA-cqpr-pcm7-m3jc
Published: 16 Jun 2022Last Modified: 4 Aug 2022
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: https://github.com/chronotope/chrono/issues/499, https://github.com/time-rs/time/issues/293, https://github.com/chronotope/chrono, https://rustsec.org/advisories/RUSTSEC-2020-0159.html
Affected packages
Package
Name: chrono
Purl: pkg:cargo/chrono
Affected ranges
Type: SEMVER
Events:
Introduced- 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
