Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2020-36317

published

rust: memory safety violation in String::retain()

Title from Red Hat VEX

Published
11 Apr 2021, 19:06:28 UTC
Updated
04 Aug 2024, 17:23:10 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated mitre
Oracle Linux 8 cargoaarch64 · rust-toolset · ol8 is enabled Advisory build 0:1.49.0-1.module+el8.4.0+20083+9f8f961d ELSA-2021-1935
Red Hat Enterprise Linux RHEL-8 cargoaarch64 Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Rocky Linux 8 cargoaarch64 Listed in advisory Not stated RLSA-2021:1935
Oracle Linux 8 cargox86_64 · rust-toolset · ol8 is enabled Advisory build 0:1.49.0-1.module+el8.4.0+20083+9f8f961d ELSA-2021-1935
Oracle Linux 8 cargo-docaarch64 · rust-toolset · ol8 is enabled Advisory build 0:1.49.0-1.module+el8.4.0+20083+9f8f961d ELSA-2021-1935
Oracle Linux 8 cargo-docx86_64 · rust-toolset · ol8 is enabled Advisory build 0:1.49.0-1.module+el8.4.0+20083+9f8f961d ELSA-2021-1935
Oracle Linux 8 clippyaarch64 · rust-toolset · ol8 is enabled Advisory build 0:1.49.0-1.module+el8.4.0+20083+9f8f961d ELSA-2021-1935
Show 93 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 8 clippyx86_64 · rust-toolset · ol8 is enabled Advisory build 0:1.49.0-1.module+el8.4.0+20083+9f8f961d ELSA-2021-1935
Oracle Linux 8 rlsaarch64 · rust-toolset · ol8 is enabled Advisory build 0:1.49.0-1.module+el8.4.0+20083+9f8f961d ELSA-2021-1935
Oracle Linux 8 rlsx86_64 · rust-toolset · ol8 is enabled Advisory build 0:1.49.0-1.module+el8.4.0+20083+9f8f961d ELSA-2021-1935
Oracle Linux 8 rustaarch64 · rust-toolset · ol8 is enabled Advisory build 0:1.49.0-1.module+el8.4.0+20083+9f8f961d ELSA-2021-1935
Oracle Linux 8 rustx86_64 · rust-toolset · ol8 is enabled Advisory build 0:1.49.0-1.module+el8.4.0+20083+9f8f961d ELSA-2021-1935
Oracle Linux 8 rust-analysisaarch64 · rust-toolset · ol8 is enabled Advisory build 0:1.49.0-1.module+el8.4.0+20083+9f8f961d ELSA-2021-1935
Oracle Linux 8 rust-analysisx86_64 · rust-toolset · ol8 is enabled Advisory build 0:1.49.0-1.module+el8.4.0+20083+9f8f961d ELSA-2021-1935
Oracle Linux 8 rust-debugger-commonaarch64 · rust-toolset · ol8 is enabled Advisory build 0:1.49.0-1.module+el8.4.0+20083+9f8f961d ELSA-2021-1935
Oracle Linux 8 rust-debugger-commonx86_64 · rust-toolset · ol8 is enabled Advisory build 0:1.49.0-1.module+el8.4.0+20083+9f8f961d ELSA-2021-1935
Oracle Linux 8 rust-docaarch64 · rust-toolset · ol8 is enabled Advisory build 0:1.49.0-1.module+el8.4.0+20083+9f8f961d ELSA-2021-1935
Oracle Linux 8 rust-docx86_64 · rust-toolset · ol8 is enabled Advisory build 0:1.49.0-1.module+el8.4.0+20083+9f8f961d ELSA-2021-1935
Oracle Linux 8 rust-gdbaarch64 · rust-toolset · ol8 is enabled Advisory build 0:1.49.0-1.module+el8.4.0+20083+9f8f961d ELSA-2021-1935
Oracle Linux 8 rust-gdbx86_64 · rust-toolset · ol8 is enabled Advisory build 0:1.49.0-1.module+el8.4.0+20083+9f8f961d ELSA-2021-1935
Oracle Linux 8 rust-lldbaarch64 · rust-toolset · ol8 is enabled Advisory build 0:1.49.0-1.module+el8.4.0+20083+9f8f961d ELSA-2021-1935
Oracle Linux 8 rust-lldbx86_64 · rust-toolset · ol8 is enabled Advisory build 0:1.49.0-1.module+el8.4.0+20083+9f8f961d ELSA-2021-1935
Oracle Linux 8 rust-srcaarch64 · rust-toolset · ol8 is enabled Advisory build 0:1.49.0-1.module+el8.4.0+20083+9f8f961d ELSA-2021-1935
Oracle Linux 8 rust-srcx86_64 · rust-toolset · ol8 is enabled Advisory build 0:1.49.0-1.module+el8.4.0+20083+9f8f961d ELSA-2021-1935
Oracle Linux 8 rust-std-staticaarch64 · rust-toolset · ol8 is enabled Advisory build 0:1.49.0-1.module+el8.4.0+20083+9f8f961d ELSA-2021-1935
Oracle Linux 8 rust-std-staticx86_64 · rust-toolset · ol8 is enabled Advisory build 0:1.49.0-1.module+el8.4.0+20083+9f8f961d ELSA-2021-1935
Oracle Linux 8 rust-toolsetaarch64 · rust-toolset · ol8 is enabled Advisory build 0:1.49.0-1.module+el8.4.0+20083+9f8f961d ELSA-2021-1935
Oracle Linux 8 rust-toolsetx86_64 · rust-toolset · ol8 is enabled Advisory build 0:1.49.0-1.module+el8.4.0+20083+9f8f961d ELSA-2021-1935
Oracle Linux 8 rustfmtaarch64 · rust-toolset · ol8 is enabled Advisory build 0:1.49.0-1.module+el8.4.0+20083+9f8f961d ELSA-2021-1935
Oracle Linux 8 rustfmtx86_64 · rust-toolset · ol8 is enabled Advisory build 0:1.49.0-1.module+el8.4.0+20083+9f8f961d ELSA-2021-1935
Red Hat Enterprise Linux RHEL-8 cargoppc64le Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 cargos390x Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 cargox86_64 Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 cargo-debuginfoaarch64 Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 cargo-debuginfoppc64le Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 cargo-debuginfos390x Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 cargo-debuginfox86_64 Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 cargo-docnoarch Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 clippyaarch64 Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 clippyppc64le Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 clippys390x Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 clippyx86_64 Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 clippy-debuginfoaarch64 Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 clippy-debuginfoppc64le Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 clippy-debuginfos390x Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 clippy-debuginfox86_64 Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rlsaarch64 Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rlsppc64le Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rlss390x Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rlsx86_64 Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rls-debuginfoaarch64 Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rls-debuginfoppc64le Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rls-debuginfos390x Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rls-debuginfox86_64 Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rustaarch64 Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rustppc64le Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rusts390x Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rustsrc Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rustx86_64 Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rust-analysisaarch64 Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rust-analysisppc64le Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rust-analysiss390x Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rust-analysisx86_64 Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rust-debugger-commonnoarch Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rust-debuginfoaarch64 Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rust-debuginfoppc64le Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rust-debuginfos390x Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rust-debuginfox86_64 Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rust-debugsourceaarch64 Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rust-debugsourceppc64le Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rust-debugsources390x Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rust-debugsourcex86_64 Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rust-docaarch64 Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rust-docppc64le Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rust-docs390x Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rust-docx86_64 Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rust-gdbnoarch Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rust-lldbnoarch Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rust-srcnoarch Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rust-std-staticaarch64 Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rust-std-staticppc64le Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rust-std-statics390x Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rust-std-staticx86_64 Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rust-toolsetaarch64 Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rust-toolsetppc64le Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rust-toolsets390x Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rust-toolsetsrc Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rust-toolsetx86_64 Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rustfmtaarch64 Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rustfmtppc64le Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rustfmts390x Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rustfmtx86_64 Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rustfmt-debuginfoaarch64 Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rustfmt-debuginfoppc64le Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rustfmt-debuginfos390x Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Red Hat Enterprise Linux RHEL-8 rustfmt-debuginfox86_64 Advisory build 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Rocky Linux 8 cargox86_64 Listed in advisory Not stated RLSA-2021:1935
Rocky Linux 8 cargo-debuginfoaarch64 Listed in advisory Not stated RLSA-2021:1935
Rocky Linux 8 cargo-debuginfox86_64 Listed in advisory Not stated RLSA-2021:1935
Rocky Linux 8 cargo-docnoarch Listed in advisory Not stated RLSA-2021:1935

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

3

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna

Weaknesses

1
  • n/a (mitre · cna)

References

2

Provider assertions

2

mitre · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
f40d70a7db916035104811be75d4507cd1feb32699a3a1a651267e4d13207864
Ingested
23 Sep 2026, 07:50:32 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected