NULL Pointer Dereference Affecting newsboat package, versions <2.30.1-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.97% (81st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE320-NEWSBOAT-7013079
  • published23 May 2024
  • disclosed24 Nov 2020

Introduced: 24 Nov 2020

CVE-2020-26235  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Alpine:3.20 newsboat to version 2.30.1-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream newsboat package and not the newsboat package as distributed by Alpine. See How to fix? for Alpine:3.20 relevant fixed versions and status.

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 Base Scores

version 3.1