Vulnerability
CVE-2020-26235
In Rust time crate from version 0.2.7 and before version 0.2.23, unix-like operating systems may segfault due to dereferencing a dangling pointer in specific circumstances. This requires the user to set any environment variable in a different thread than the affected functions. The affected functions are time::UtcOffset::local_offset_at, time::UtcOffset::try_local_offset_at, time::UtcOffset::current_local_offset, time::UtcOffset::try_current_local_offset, time::OffsetDateTime::now_local and time::OffsetDateTime::try_now_local. Non-Unix targets are unaffected. This includes Windows and wasm. The issue was introduced in version 0.2.7 and fixed in version 0.2.23.
20 advisories report this vulnerability, across 5 ecosystems.
Advisories
-
ALPINE-CVE-2020-26235
In Rust time crate from version 0.2.7 and before version 0.2.23, unix-like operating systems may segfault due to dereferencing a dangling pointer in specific circumstances. This requires the user to set any environment…
- ALPINE-EDGE-CVE-2020-26235
- CGA-38j9-gp2h-5m8p
- CGA-39c8-4fvx-v35q
- CGA-4c47-wrhp-rrvh
- CGA-5jvv-mqj2-3f6x
- CGA-627p-h8jf-4v5v
- CGA-7fgq-vjhh-885f
- CGA-82v9-f7vm-2pmx
- CGA-cj6c-mjvc-wf9c
- CGA-fp9q-4f6w-g46r
- CGA-j8cg-8vjw-w549
- CGA-jc8j-42vw-j2v5
- CGA-mcr7-r88f-8mhp
- CGA-ppv7-fq92-745p
- CGA-q848-gfgc-cww9
- CGA-rmvr-9ccr-wjhw
-
GHSA-wcg3-cvx6-7396
Segmentation fault in time
-
RUSTSEC-2020-0071
Potential segfault in the time crate
-
UBUNTU-CVE-2020-26235
In Rust time crate from version 0.2.7 and before version 0.2.23, unix-like operating systems may segfault due to dereferencing a dangling pointer in specific circumstances. This requires the user to set any environment…