CVE-2020-26235
published medium CVSS 3.1 · 5.3Segmentation fault in Rust time crate
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| time-rs | — | time>= 0.2.7, <0.2.23 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | newsboat | Fixed | 2.30.1-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | newsboataarch64 | Advisory build | 2.30.1-1.1 | OPENSUSE-SU-2024:12746-1 |
| Alpine Linux | v3.17 | newsboat | Fixed | 2.30.1-r0 | Package fix record |
| Alpine Linux | v3.18 | newsboat | Fixed | 2.30.1-r0 | Package fix record |
| Alpine Linux | v3.19 | newsboat | Fixed | 2.30.1-r0 | Package fix record |
| Alpine Linux | v3.20 | newsboat | Fixed | 2.30.1-r0 | Package fix record |
| Alpine Linux | v3.21 | newsboat | Fixed | 2.30.1-r0 | Package fix record |
Show 10 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.22 | newsboat | Fixed | 2.30.1-r0 | Package fix record |
| Alpine Linux | v3.23 | newsboat | Fixed | 2.30.1-r0 | Package fix record |
| Alpine Linux | v3.24 | newsboat | Fixed | 2.30.1-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | newsboatppc64le | Advisory build | 2.30.1-1.1 | OPENSUSE-SU-2024:12746-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | newsboats390x | Advisory build | 2.30.1-1.1 | OPENSUSE-SU-2024:12746-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | newsboatx86_64 | Advisory build | 2.30.1-1.1 | OPENSUSE-SU-2024:12746-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | newsboat-langaarch64 | Advisory build | 2.30.1-1.1 | OPENSUSE-SU-2024:12746-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | newsboat-langppc64le | Advisory build | 2.30.1-1.1 | OPENSUSE-SU-2024:12746-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | newsboat-langs390x | Advisory build | 2.30.1-1.1 | OPENSUSE-SU-2024:12746-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | newsboat-langx86_64 | Advisory build | 2.30.1-1.1 | OPENSUSE-SU-2024:12746-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| time-rs | time | >= 0.2.7, <0.2.23 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-476 CWE-476 NULL Pointer Dereference
References
3Provider assertions
2GitHub_M · cna
Segmentation fault in Rust time crate
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a4542cae25630bf9e4db43a7ef51f532ecf4cf8e333a62c523a4227338bcdfe8
- Ingested
- 23 Sep 2026, 07:49:46 UTC
- Source record
- Official CVE record