9.8crit

CVE-2018-20995

Memory corruption slice-deque

Also known as GHSA-hr3c-6mmp-6m39, RUSTSEC-2018-0008

Published 7 y ago · modified 4 mo ago · JSON

CVSS
9.8
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
1.6%
percentile 76%
Public exploits
0
none known

Summary

An issue was discovered in the slice-deque crate before 0.1.16 for Rust. move_head_unchecked allows memory corruption because deque updates are mishandled.

Exploit prediction (EPSS)

1.61% probability of exploitation in the next 30 days, higher than 76% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.09.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD2.07.5AV:N/AC:L/Au:N/C:P/I:P/A:P
GitHub3.09.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV3.09.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

EcosystemPackageAffectedFixed in
crates.ioslice-deque
<0.1.16
>=0.0.0-0, <0.1.16
0.1.16

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

  • rustsec.org /advisories/RUSTSEC-2018-0008.html · x_refsource_MISC, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2018-20995 · advisory
  • github.com /gnzlbg/slice_deque/issues/57 · web
  • github.com /gnzlbg/slice_deque · package
  • crates.io /crates/slice-deque · package

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.