CVE-2020-26235
CVSS V2 Low 3.5
CVSS V3 Medium 5.3
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.
Overview
- CVE ID
- CVE-2020-26235
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2020-11-24T22:15:11
- Last Modified Date
- 2020-12-03T19:42:05
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
AND | ||||
cpe:2.3:a:time_project:time:*:*:*:*:*:*:*:* | 1 | OR | 0.2.7 | 0.2.23 |
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* | 0 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:S/C:N/I:N/A:P
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- SINGLE
- Confidentiality Impact
- NONE
- Integrity Impact
- NONE
- Availability Impact
- PARTIAL
- Base Score
- 3.5
- Severity
- LOW
- Exploitability Score
- 6.8
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- 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 Compatibility
- HIGH
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- HIGH
- Base Score
- 5.3
- Base Severity
- MEDIUM
- Exploitability Score
- 1.6
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://github.com/time-rs/time/issues/293 | Issue Tracking Third Party Advisory |
https://github.com/time-rs/time/security/advisories/GHSA-wcg3-cvx6-7396 | Patch Third Party Advisory |
https://crates.io/crates/time/0.2.23 | Release Notes Vendor Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2020-26235 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-26235 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:31:25 | Added to TrackCVE | |||
2022-12-05 17:18:42 | 2020-11-24T22:15Z | 2020-11-24T22:15:11 | CVE Published Date | updated |
2022-12-05 17:18:42 | 2020-12-03T19:42:05 | CVE Modified Date | updated | |
2022-12-05 17:18:42 | Analyzed | Vulnerability Status | updated |