VDB

CVE-2020-36317

CVE-2020-36317 PUBLISHED CVSS 7.5 HIGH

In the standard library in Rust before 1.49.0, String::retain() function has a panic safety problem. It allows creation of a non-UTF-8 Rust string when the provided closure panics. This bug could result in a memory safety violation when other string APIs assume that UTF-8 encoding is used on the same string.

EPSS 1.50% · 74.0th percentile

Risk Scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score
1.50%
74.0th percentile

Affected Products

VendorProductVersions
Ubuntu:14.04:LTSrustc0, 1.15.1+dfsg0-1~exp1ubuntu2~14.04.7, 1.17.0+dfsg2-8~ubuntu0.14.04.3
Ubuntu:16.04:LTSrustc0, 1.7.0+dfsg1-1, 1.15.1+dfsg0-1~exp1ubuntu2~16.04.3
Ubuntu:20.04:LTSrustc0, 1.37.0+dfsg1+llvm-1ubuntu1, 1.38.0+dfsg0.2+llvm-0ubuntu1

Timeline

  • Oct 28, 2020 CVE Published
  • Apr 14, 2021 EPSS Score
  • Jun 23, 2021 EPSS Score
  • Aug 25, 2021 EPSS Score
  • Dec 30, 2021 EPSS Score
  • Jan 6, 2022 EPSS Score
  • Feb 4, 2022 EPSS Score
  • Mar 3, 2022 EPSS Score
  • Apr 1, 2022 EPSS Score
  • May 5, 2022 EPSS Score
  • Sep 10, 2022 EPSS Score
  • Nov 12, 2022 EPSS Score
Open in Interactive Console →
$ Console Community · 50/day Open console ›