p PatchFirst

CVE-2020-26235

CVE-2020-26235 · Segmentation fault in Rust time crate

CVSS 5.3 · Medium · EPSS 2.0% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • timeNo fix published
  • newsboat Alpine 3.17Update to 2.30.1-r0
  • newsboat Alpine 3.18Update to 2.30.1-r0
  • newsboat Alpine 3.19Update to 2.30.1-r0
  • and 11 more

Check the installed version:

apk list -I -o newsboat

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Stack: system

Affected products and versions

  • time

    Versions
    • >= 0.2.7, <0.2.23: Affected

    No fix published

  • newsboat Alpine 3.17

    Affected ranges
    • ECOSYSTEM: < 2.30.1-r0

    Update to 2.30.1-r0

  • newsboat Alpine 3.18

    Affected ranges
    • ECOSYSTEM: < 2.30.1-r0

    Update to 2.30.1-r0

  • newsboat Alpine 3.19

    Affected ranges
    • ECOSYSTEM: < 2.30.1-r0

    Update to 2.30.1-r0

  • newsboat Alpine 3.20

    Affected ranges
    • ECOSYSTEM: < 2.30.1-r0

    Update to 2.30.1-r0

  • newsboat Alpine 3.21

    Affected ranges
    • ECOSYSTEM: < 2.30.1-r0

    Update to 2.30.1-r0

  • newsboat Alpine 3.22

    Affected ranges
    • ECOSYSTEM: < 2.30.1-r0

    Update to 2.30.1-r0

  • newsboat Alpine 3.23

    Affected ranges
    • ECOSYSTEM: < 2.30.1-r0

    Update to 2.30.1-r0

  • newsboat Alpine 3.24

    Affected ranges
    • ECOSYSTEM: < 2.30.1-r0

    Update to 2.30.1-r0

  • rust-time Ubuntu 20.04 LTS

    Versions
    • 0.1.42-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rust-time Ubuntu 22.04 LTS

    Versions
    • 0.1.42-1
    • 0.3.5-2
    • 0.3.5-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rust-time Ubuntu 24.04 LTS

    Versions
    • 0.3.23-2
    • 0.3.31-1
    • 0.3.31-1ubuntu0.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rust-time Ubuntu 25.10

    Versions
    • 0.3.37-1
    • 0.3.39-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rust-time Ubuntu 26.10

    Versions
    • 0.3.47-1
    • 0.3.54-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rust-time Ubuntu 26.04 LTS

    Versions
    • 0.3.39-1
    • 0.3.44-1
    • 0.3.47-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →