VDB

CVE-2020-26235

CVE-2020-26235 PUBLISHED

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.

EPSS 0.50% · 66.2th percentile

Risk Scores

EPSS Score
0.50%
66.2th percentile

Affected Products

VendorProductVersions
Ubuntu:22.04:LTSrust-time0.1.42-1, 0.3.5-2, 0.3.5-3
Ubuntu:20.04:LTSrust-time0.1.42-1, 0
Ubuntu:25.10rust-time0, 0.3.37-1, 0.3.39-1
Ubuntu:24.04:LTSrust-time0.3.23-2, 0.3.31-1ubuntu0.1, 0.3.31-1

Timeline

  • Nov 18, 2020 CVE Published
  • Apr 14, 2021 EPSS Score
  • Jun 22, 2021 EPSS Score
  • Aug 24, 2021 EPSS Score
  • Dec 27, 2021 EPSS Score
  • Jan 6, 2022 EPSS Score
  • Feb 4, 2022 EPSS Score
  • Feb 27, 2022 EPSS Score
  • Apr 1, 2022 EPSS Score
  • Jul 2, 2022 EPSS Score
  • Sep 4, 2022 EPSS Score
  • Nov 5, 2022 EPSS Score
Open in Interactive Console →
$ Console Community · 100/wk Open console ›