9.8
CRITICAL CVSS 3.0
CVE-2018-1000810
Rust Programming Language Standard Library Integer Overflow to Buffer Overflow
Description

The Rust Programming Language Standard Library version 1.29.0, 1.28.0, 1.27.2, 1.27.1, 127.0, 126.2, 126.1, 126.0 contains a CWE-680: Integer Overflow to Buffer Overflow vulnerability in standard library that can result in buffer overflow. This attack appear to be exploitable via str::repeat, passed a large number, can overflow an internal buffer. This vulnerability appears to have been fixed in 1.29.1.

INFO

Published Date :

Oct. 8, 2018, 3:29 p.m.

Last Modified :

Nov. 21, 2024, 3:40 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2018-1000810 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Rust-lang rust
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 HIGH [email protected]
CVSS 3.0 CRITICAL [email protected]
Solution
A buffer overflow vulnerability exists in the Rust Programming Language Standard Library; updating to a patched version will resolve the issue.
  • Update the Rust package to the latest version.
  • For Gentoo Linux, update the package using `emerge --sync && emerge --ask --oneshot --verbose '>=dev-lang/rust-1.29.1'`.
Public PoC/Exploit Available at Github

CVE-2018-1000810 has a 4 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-1000810 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2018-1000810 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

CVEs for the Rust standard library

Rust

Updated: 1 month, 2 weeks ago
54 stars 2 fork 2 watcher
Born at : July 1, 2021, 8:28 p.m. This repo has been linked 16 different CVEs too.

None

Updated: 1 month, 1 week ago
34 stars 2 fork 2 watcher
Born at : Jan. 5, 2021, 11:56 a.m. This repo has been linked 163 different CVEs too.

Rust语言安全相关分析

rust rust-sec rust-security fuzz rust-crate

Rust

Updated: 1 year, 4 months ago
23 stars 3 fork 3 watcher
Born at : Oct. 31, 2018, 5:44 a.m. This repo has been linked 17 different CVEs too.

None

Updated: 2 months, 4 weeks ago
85 stars 9 fork 9 watcher
Born at : Aug. 3, 2018, 5:17 p.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-1000810 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-1000810 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://blog.rust-lang.org/2018/09/21/Security-advisory-for-std.html
    Added Reference https://groups.google.com/forum/#%21topic/rustlang-security-announcements/CmSuTm-SaU0
    Added Reference https://security.gentoo.org/glsa/201812-11
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference MITRE https://groups.google.com/forum/#%21topic/rustlang-security-announcements/CmSuTm-SaU0 [No types assigned]
    Removed Reference MITRE https://groups.google.com/forum/#!topic/rustlang-security-announcements/CmSuTm-SaU0
  • Initial Analysis by [email protected]

    Jan. 04, 2019

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://groups.google.com/forum/#!topic/rustlang-security-announcements/CmSuTm-SaU0 No Types Assigned https://groups.google.com/forum/#!topic/rustlang-security-announcements/CmSuTm-SaU0 Mailing List, Mitigation, Patch, Third Party Advisory
    Changed Reference Type https://security.gentoo.org/glsa/201812-11 No Types Assigned https://security.gentoo.org/glsa/201812-11 Third Party Advisory
    Changed Reference Type https://blog.rust-lang.org/2018/09/21/Security-advisory-for-std.html No Types Assigned https://blog.rust-lang.org/2018/09/21/Security-advisory-for-std.html Vendor Advisory
    Added CWE CWE-190
    Added CPE Configuration OR *cpe:2.3:a:rust-lang:rust:1.26.0:*:*:*:*:*:*:* *cpe:2.3:a:rust-lang:rust:1.26.1:*:*:*:*:*:*:* *cpe:2.3:a:rust-lang:rust:1.26.2:*:*:*:*:*:*:* *cpe:2.3:a:rust-lang:rust:1.27.0:*:*:*:*:*:*:* *cpe:2.3:a:rust-lang:rust:1.27.1:*:*:*:*:*:*:* *cpe:2.3:a:rust-lang:rust:1.27.2:*:*:*:*:*:*:* *cpe:2.3:a:rust-lang:rust:1.28.0:*:*:*:*:*:*:* *cpe:2.3:a:rust-lang:rust:1.29.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Dec. 31, 2018

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/201812-11 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 9.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 7.5
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.87 }} -0.94%

score

0.74212

percentile