GHSA-cqpr-pcm7-m3jc

Suggest an improvement
Source
https://github.com/advisories/GHSA-cqpr-pcm7-m3jc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-cqpr-pcm7-m3jc/GHSA-cqpr-pcm7-m3jc.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-cqpr-pcm7-m3jc
Withdrawn
2022-07-21T18:06:06Z
Published
2022-06-16T23:48:34Z
Modified
2022-08-04T19:38:53Z
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.

Database specific
{
    "nvd_published_at": null,
    "severity": "MODERATE",
    "github_reviewed_at": "2022-06-16T23:48:34Z",
    "github_reviewed": true,
    "cwe_ids": []
}
References

Affected packages

crates.io / chrono

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.4.20