RUSTSEC-2020-0159
JSON

Not scored

Potential segfault in `localtime_r` invocations

Severity
Not scored
Published
Last changed

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

Affected

Product or packageVersionsReported by
chrono (crates.io)from 0.0.0-0 before 0.4.20RustSec Advisory Database

References

Related

Sources

SourceRecordLicence
RustSec Advisory DatabaseRUSTSEC-2020-0159 changed 2026-02-04CC0-1.0