Untrusted Search Path Affecting rust-toolset-1.29-rustfmt-preview package, versions <0:0.99.1-1.el7


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.12% (47th 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-RHEL7-RUSTTOOLSET129RUSTFMTPREVIEW-3373624
  • published26 Mar 2023
  • disclosed8 Jul 2018

Introduced: 8 Jul 2018

CVE-2018-1000622  (opens in a new tab)
CWE-426  (opens in a new tab)

How to fix?

Upgrade RHEL:7 rust-toolset-1.29-rustfmt-preview to version 0:0.99.1-1.el7 or higher.
This issue was patched in RHEA-2018:3584.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rust-toolset-1.29-rustfmt-preview package and not the rust-toolset-1.29-rustfmt-preview package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

The Rust Programming Language rustdoc version Between 0.8 and 1.27.0 contains a CWE-427: Uncontrolled Search Path Element vulnerability in rustdoc plugins that can result in local code execution as a different user. This attack appear to be exploitable via using the --plugin flag without the --plugin-path flag. This vulnerability appears to have been fixed in 1.27.1.