Out-of-bounds Read Affecting rust-analysis package, versions <1.36.0-3.21.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.24% (64th 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-SLES150-RUSTANALYSIS-2732892
  • published14 Apr 2022
  • disclosed23 Sept 2019

Introduced: 23 Sep 2019

CVE-2019-12083  (opens in a new tab)
CWE-125  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade SLES:15.0 rust-analysis to version 1.36.0-3.21.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rust-analysis package and not the rust-analysis package as distributed by SLES. See How to fix? for SLES:15.0 relevant fixed versions and status.

The Rust Programming Language Standard Library 1.34.x before 1.34.2 contains a stabilized method which, if overridden, can violate Rust's safety guarantees and cause memory unsafety. If the Error::type_id method is overridden then any type can be safely cast to any other type, causing memory safety vulnerabilities in safe code (e.g., out-of-bounds write or read). Code that does not manually implement Error::type_id is unaffected.

CVSS Scores

version 3.1