CVE-2018-1000622
The Rust Programming Language rustdoc version Between 0.8 and 1.27.0 contains a CWE-427:...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
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.
- Record
CVE-2018-1000622- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-427
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2018-1000622- Updated
- 2026-11-02
EUVDEUVD-2018-1957 No score
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.
- Record
EUVD-2018-1957- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-6f94-33qx-gqcf
7.8
The Rust Programming Language rustdoc version Between 0.8 and 1.27.0 contains a CWE-427:...
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.
- Record
GHSA-6f94-33qx-gqcf- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-427
- Updated
- 2026-11-02
OSVBELL-CVE-2018-1000622
7.8
CVE-2018-1000622 does not affect BellSoft software
- Record
BELL-CVE-2018-1000622- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV
7.8
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.
- Record
CVE-2018-1000622- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 12 moreShow less
OSVDEBIAN-CVE-2018-1000622
7.8
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.
- Record
DEBIAN-CVE-2018-1000622- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHEA-2018:3584
5.3
Red Hat Enhancement Advisory: new packages: rust-toolset-1.29
- Record
RHEA-2018:3584- CVSS 3.0
- 5.3 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVMGASA-2018-0318 No score
Updated rust packages fix security vulnerability
The Rust Programming Language rustdoc version before version 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 has been fixed in 1.27.1 (CVE-2018-1000622).
This update also fixes a bug in the borrow checker verification of match expressions.
- Record
MGASA-2018-0318- Updated
- 2026-11-02
OSVopenSUSE-SU-2019:2203-1 No score
Security update for rust
This update for rust fixes the following issues:
Rust was updated to version 1.36.0.
Security issues fixed:
- CVE-2019-12083: a standard method can be overridden violating Rust's safety guarantees and causing memory unsafety (bsc#1134978)
- CVE-2018-1000622: rustdoc loads plugins from world writable directory allowing for arbitrary code execution (bsc#1100691)
This update was imported from SUSE:SLE-15:Update.
- Record
openSUSE-SU-2019:2203-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2019:2244-1 No score
Security update for rust
This update for rust fixes the following issues:
Rust was updated to version 1.36.0.
Security issues fixed:
- CVE-2019-12083: a standard method can be overridden violating Rust's safety guarantees and causing memory unsafety (bsc#1134978)
- CVE-2018-1000622: rustdoc loads plugins from world writable directory allowing for arbitrary code execution (bsc#1100691)
This update was imported from the SUSE:SLE-15:Update update project.
- Record
openSUSE-SU-2019:2244-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2019:2294-1 No score
Security update for rust
This update for rust fixes the following issues:
Rust was updated to version 1.36.0.
Security issues fixed:
- CVE-2019-12083: a standard method can be overridden violating Rust's safety guarantees and causing memory unsafety (bsc#1134978)
- CVE-2018-1000622: rustdoc loads plugins from world writable directory allowing for arbitrary code execution (bsc#1100691)
This update was imported from the SUSE:SLE-15:Update update project.
- Record
openSUSE-SU-2019:2294-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11359-1 No score
cargo-1.54.0-1.2 on GA media
These are all security issues fixed in the cargo-1.54.0-1.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11359-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11360-1 No score
cargo1.53-1.53.0-2.5 on GA media
These are all security issues fixed in the cargo1.53-1.53.0-2.5 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11360-1- Updated
- 2026-11-02
OSVSUSE-RU-2019:0386-1 No score
Security update for rust
Rust was updated to version 1.31.1.
- Record
SUSE-RU-2019:0386-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:3357-1 No score
Security update for rust
This update for rust fixes the following issues:
- CVE-2018-1000622: rustdoc loads plugins from world writable directory allowing for arbitrary code execution
This patch consists of requiring
--plugin-pathto be passed whenever--pluginis passed Note that rustdoc plugins will be removed entirely on 1.28.0 (bsc#1100691).
- Record
SUSE-SU-2018:3357-1- Updated
- 2026-11-02
OSVSUSE-SU-2019:2439-1 No score
Security update for rust
This update for rust fixes the following issues:
Rust was updated to version 1.36.0.
Security issues fixed:
- CVE-2019-12083: a standard method can be overridden violating Rust's safety guarantees and causing memory unsafety (bsc#1134978)
- CVE-2018-1000622: rustdoc loads plugins from world writable directory allowing for arbitrary code execution (bsc#1100691)
- Record
SUSE-SU-2019:2439-1- Updated
- 2026-11-02
OSVSUSE-SU-2019:2755-1 No score
Security update for rust
This update for rust fixes the following issues:
Rust was updated to version 1.36.0.
Security issues fixed:
- CVE-2019-12083: a standard method can be overridden violating Rust's safety guarantees and causing memory unsafety (bsc#1134978)
- CVE-2018-1000622: rustdoc loads plugins from world writable directory allowing for arbitrary code execution (bsc#1100691)
- Record
SUSE-SU-2019:2755-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
rustcDebian:12 |
before 1.27.1+dfsg1-1~exp1 | 1.27.1+dfsg1-1~exp1 |
rustcDebian:13 |
before 1.27.1+dfsg1-1~exp1 | 1.27.1+dfsg1-1~exp1 |
rustcDebian:14 |
before 1.27.1+dfsg1-1~exp1 | 1.27.1+dfsg1-1~exp1 |
rustMageia:6 |
before 1.27.1-1.1.mga6 | 1.27.1-1.1.mga6 |
rust-toolset-1.29Red Hat:devtools:2018 |
before 0:1.29.2-1.el7 | 0:1.29.2-1.el7 |
rust-toolset-1.29-buildRed Hat:devtools:2018 |
before 0:1.29.2-1.el7 | 0:1.29.2-1.el7 |
rust-toolset-1.29-cargoRed Hat:devtools:2018 |
before 0:1.29.0-1.el7 | 0:1.29.0-1.el7 |
rust-toolset-1.29-cargo-docRed Hat:devtools:2018 |
before 0:1.29.0-1.el7 | 0:1.29.0-1.el7 |
rust-toolset-1.29-cargo-vendorRed Hat:devtools:2018 |
before 0:0.1.17-1.el7 | 0:0.1.17-1.el7 |
rust-toolset-1.29-cargo-vendor-debuginfoRed Hat:devtools:2018 |
before 0:0.1.17-1.el7 | 0:0.1.17-1.el7 |
Show 23 moreShow less
| Package | Affected | Fixed |
|---|---|---|
rust-toolset-1.29-clippy-previewRed Hat:devtools:2018 |
before 0:0.0.212-1.el7 | 0:0.0.212-1.el7 |
rust-toolset-1.29-rls-previewRed Hat:devtools:2018 |
before 0:0.130.0-1.el7 | 0:0.130.0-1.el7 |
rust-toolset-1.29-runtimeRed Hat:devtools:2018 |
before 0:1.29.2-1.el7 | 0:1.29.2-1.el7 |
rust-toolset-1.29-rustRed Hat:devtools:2018 |
before 0:1.29.2-1.el7 | 0:1.29.2-1.el7 |
rust-toolset-1.29-rust-analysisRed Hat:devtools:2018 |
before 0:1.29.2-1.el7 | 0:1.29.2-1.el7 |
rust-toolset-1.29-rust-debugger-commonRed Hat:devtools:2018 |
before 0:1.29.2-1.el7 | 0:1.29.2-1.el7 |
rust-toolset-1.29-rust-debuginfoRed Hat:devtools:2018 |
before 0:1.29.2-1.el7 | 0:1.29.2-1.el7 |
rust-toolset-1.29-rust-docRed Hat:devtools:2018 |
before 0:1.29.2-1.el7 | 0:1.29.2-1.el7 |
rust-toolset-1.29-rust-gdbRed Hat:devtools:2018 |
before 0:1.29.2-1.el7 | 0:1.29.2-1.el7 |
rust-toolset-1.29-rust-lldbRed Hat:devtools:2018 |
before 0:1.29.2-1.el7 | 0:1.29.2-1.el7 |
rust-toolset-1.29-rust-srcRed Hat:devtools:2018 |
before 0:1.29.2-1.el7 | 0:1.29.2-1.el7 |
rust-toolset-1.29-rust-std-staticRed Hat:devtools:2018 |
before 0:1.29.2-1.el7 | 0:1.29.2-1.el7 |
rust-toolset-1.29-rustfmt-previewRed Hat:devtools:2018 |
before 0:0.99.1-1.el7 | 0:0.99.1-1.el7 |
rustSUSE:Linux Enterprise Module for Development Tools 15 |
before 1.31.1-3.9.2 | 1.31.1-3.9.2 |
rustSUSE:Linux Enterprise Module for Development Tools 15 |
before 1.24.1-3.6.1 | 1.24.1-3.6.1 |
rustSUSE:Linux Enterprise Module for Development Tools 15 From an advisory covering 2 CVEs |
before 1.36.0-3.21.1 | 1.36.0-3.21.1 |
rustSUSE:Linux Enterprise Module for Development Tools 15 SP1 From an advisory covering 2 CVEs |
before 1.36.0-4.1 | 1.36.0-4.1 |
rustopenSUSE:Leap 15.1 From an advisory covering 2 CVEs |
before 1.36.0-lp151.5.4.1 | 1.36.0-lp151.5.4.1 |
rust-cbindgenopenSUSE:Leap 15.1 From an advisory covering 2 CVEs |
before 0.8.7-lp151.2.2 | 0.8.7-lp151.2.2 |
rustopenSUSE:Leap 15.1 From an advisory covering 2 CVEs |
before 1.36.0-lp151.5.4.2 | 1.36.0-lp151.5.4.2 |
rustopenSUSE:Leap 15.1 From an advisory covering 2 CVEs |
before 1.36.0-lp151.5.8.1 | 1.36.0-lp151.5.8.1 |
rust-cbindgenopenSUSE:Leap 15.1 From an advisory covering 2 CVEs |
before 0.8.7-lp151.5.2 | 0.8.7-lp151.5.2 |
rust1.53openSUSE:Tumbleweed From an advisory covering 3 CVEs |
before 1.53.0-2.5 | 1.53.0-2.5 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-1000622 is a high vulnerability (CVSS 7.8) in Rust-lang Rust, published July 9, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.82%, the 78th percentile. Fixed in rustc 1.27.1+dfsg1-1~exp1.
References
security.gentoo.org/glsa/201812-11
groups.google.com/forum
lists.opensuse.org/opensuse-security-announce/2019-09/msg00076.html
lists.opensuse.org/opensuse-security-announce/2019-10/msg00006.html
lists.opensuse.org/opensuse-security-announce/2019-10/msg00031.html
nvd.nist.gov/vuln/detail/CVE-2018-1000622
Show 38 moreShow less
github.com/advisories/GHSA-6f94-33qx-gqcf
docs.bell-sw.com/security/cves/CVE-2018-1000622
security-tracker.debian.org/tracker/CVE-2018-1000622
advisories.mageia.org/MGASA-2018-0318.html
bugs.mageia.org/show_bug.cgi?id=23328
blog.rust-lang.org/2018/07/06/security-advisory-for-rustdoc.html
blog.rust-lang.org/2018/07/10/Rust-1.27.1.html
access.redhat.com/errata/RHEA-2018:3584
access.redhat.com/documentation/en-us/red_hat_developer_tools/2018.4/html/using_rust_toolset
bugzilla.redhat.com/show_bug.cgi?id=1497800
bugzilla.redhat.com/show_bug.cgi?id=1562177
bugzilla.redhat.com/show_bug.cgi?id=1562186
bugzilla.redhat.com/show_bug.cgi?id=1562189
bugzilla.redhat.com/show_bug.cgi?id=1562192
bugzilla.redhat.com/show_bug.cgi?id=1562196
bugzilla.redhat.com/show_bug.cgi?id=1591301
bugzilla.redhat.com/show_bug.cgi?id=1599904
bugzilla.redhat.com/show_bug.cgi?id=1611006
bugzilla.redhat.com/show_bug.cgi?id=1611597
bugzilla.redhat.com/show_bug.cgi?id=1611608
security.access.redhat.com/data/csaf/v2/advisories/2018/rhea-2018_3584.json
access.redhat.com/security/cve/CVE-2018-1000622
bugzilla.redhat.com/show_bug.cgi?id=1597063
cve.org/CVERecord?id=CVE-2018-1000622
suse.com/support/update/announcement/-2019-386/suse-ru-20190386-1
bugzilla.suse.com/1100691
suse.com/security/cve/CVE-2018-1000622
suse.com/support/update/announcement/2018/suse-su-20183357-1
suse.com/support/update/announcement/2019/suse-su-20192439-1
bugzilla.suse.com/1096945
bugzilla.suse.com/1133283
bugzilla.suse.com/1134978
suse.com/security/cve/CVE-2019-12083
suse.com/support/update/announcement/2019/suse-su-20192755-1
lists.opensuse.org/archives/list/[email protected]/thread/MZOZ25VGM7BURWQNSR2QRJK6ZK2KHN2N
lists.opensuse.org/archives/list/[email protected]/thread/VSDFMUYOGHL27XJBTF3UGFLJVXGMLKDW
lists.opensuse.org/archives/list/[email protected]/thread/THHMWZRJWFDVITSZZRA3U6YLX2IZ53LA
suse.com/security/cve/CVE-2020-1967