Skip to content
OpenAdvisories
Unscored CVE-2018-1000622 EUVD-2018-1957GHSA-6f94-33qx-gqcf

The Rust Programming Language rustdoc version Between 0.8 and 1.27.0 contains a CWE-427: Uncontrolled Search Path Element vulnerability in …

Published Jul 9, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rustc 1.27.1+dfsg1-1~exp1 —
Debian 13 rustc 1.27.1+dfsg1-1~exp1 —
Debian 12 rustc 1.27.1+dfsg1-1~exp1 —
ReleasePackageFixed inAdvisory
Red Hat Devtools 2018 rust-toolset-1.29 +10 1.29.2-1.el7 RHEA-2018:3584
Red Hat Devtools 2018 rust-toolset-1.29-cargo +1 1.29.0-1.el7 RHEA-2018:3584
Red Hat Devtools 2018 rust-toolset-1.29-cargo-vendor 0.1.17-1.el7 RHEA-2018:3584
Red Hat Devtools 2018 rust-toolset-1.29-clippy-preview 0.0.212-1.el7 RHEA-2018:3584
Red Hat Devtools 2018 rust-toolset-1.29-rls-preview 0.130.0-1.el7 RHEA-2018:3584
Red Hat Devtools 2018 rust-toolset-1.29-rustfmt-preview 0.99.1-1.el7 RHEA-2018:3584
ReleasePackageFixed inAdvisory
SLES 15 SP1 rust 1.36.0-4.1 SUSE-SU-2019:2755-1
SLES 15 rust 1.24.1-3.6.1 SUSE-SU-2019:2439-1, SUSE-SU-2018:3357-1, SUSE-RU-2019:0386-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed rust1.53 1.53.0-2.5 openSUSE-SU-2024:11360-1
openSUSE Leap 15.1 rust 1.36.0-lp151.5.4.1 openSUSE-SU-2019:2294-1, openSUSE-SU-2019:2244-1, openSUSE-SU-2019:2203-1
openSUSE Leap 15.1 rust-cbindgen 0.8.7-lp151.2.2 openSUSE-SU-2019:2294-1, openSUSE-SU-2019:2203-1

Advisories 9

References