CVE-2020-26235

MEDIUM EPSS 76.8%
Published Nov 24, 20205y ago · Modified Jun 17, 20262w ago
5.3 CVSS 3.1
Medium
Find Similar
Published Nov 24, 2020 5y ago
Last Modified Jun 17, 2026 2w ago

Description

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.

CVSS Details

Base Score
5.3
Exploitability
1.6
Impact
3.6
Vector string
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector Network
Attack Complexity High
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High

Threat Intelligence

EPSS Exploit Probability
76.8% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-476 NULL Pointer Dereference Memory Safety

Affected Products 2

VendorProductVersionRange
time_projecttime*≥0.2.7  –  <0.2.23
microsoftwindows*any

References 3

  • crates.io https://crates.io/crates/time/0.2.23
    Release NotesVendor Advisory
  • github.com https://github.com/time-rs/time/issues/293
    Issue TrackingThird Party Advisory
  • github.com https://github.com/time-rs/time/security/advisories/GHSA-wcg3-cvx6-7396
    PatchThird Party Advisory

Remediation

  • github.com https://github.com/time-rs/time/security/advisories/GHSA-wcg3-cvx6-7396
    PatchThird Party Advisory