Type Confusion Affecting failure package, versions *


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.22% (60th 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-RUST-FAILURE-598762
  • published16 Aug 2020
  • disclosed13 Nov 2019
  • creditUnknown

Introduced: 13 Nov 2019

CVE-2019-25010  (opens in a new tab)
CVE-2020-25575  (opens in a new tab)
CWE-843  (opens in a new tab)

How to fix?

There is no fixed version for failure.

Overview

failure is an experimental error handling abstraction.

Affected versions of this package are vulnerable to Type Confusion. Safe Rust code can implement malfunctioning __private_get_type_id__ and cause type confusion when downcasting, which is an undefined behavior. Users who derive Fail trait are not affected.

CVSS Scores

version 3.1