CVE-2020-36323

high
New! CVE Severity Now Using CVSS v3

The calculated severity for CVEs has been updated to use CVSS v3 by default. CVEs that do not have a CVSS v3 score will fall back CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Description

In the standard library in Rust before 1.52.0, there is an optimization for joining strings that can cause uninitialized bytes to be exposed (or the program to crash) if the borrowed string changes after its length is checked.

References

https://github.com/rust-lang/rust/issues/80335

https://github.com/rust-lang/rust/pull/81728

https://github.com/rust-lang/rust/pull/81728#issuecomment-821549174

https://lists.fedoraproject.org/archives/list/[email protected]/message/CZ337CM4GFJLRDFVQCGC7J25V65JXOG5/

https://github.com/rust-lang/rust/pull/81728#issuecomment-824904190

https://lists.fedoraproject.org/archives/list/[email protected]/message/TFUO3URYCO73D2Q4WYJBWAMJWGGVXQO4/

https://lists.fedoraproject.org/archives/list/[email protected]/message/VZG65GUW6Z2CYOQHF7T3TB5CZKIX6ZJE/

Details

Source: MITRE

Published: 2021-04-14

Updated: 2021-04-27

Type: CWE-134

Risk Information

CVSS v2

Base Score: 6.4

Vector: AV:N/AC:L/Au:N/C:P/I:N/A:P

Impact Score: 4.9

Exploitability Score: 10

Severity: MEDIUM

CVSS v3

Base Score: 8.2

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H

Impact Score: 4.2

Exploitability Score: 3.9

Severity: HIGH

Tenable Plugins

View all (4 total)

IDNameProductFamilySeverity
152574CentOS 8 : rust-toolset:rhel8 (CESA-2021:3063)NessusCentOS Local Security Checks
critical
152509Oracle Linux 8 : rust-toolset:ol8 (ELSA-2021-3063)NessusOracle Linux Local Security Checks
critical
152449RHEL 8 : rust-toolset:rhel8 (RHSA-2021:3063)NessusRed Hat Local Security Checks
critical
152446RHEL 7 : rust-toolset-1.52 and rust-toolset-1.52-rust (RHSA-2021:3042)NessusRed Hat Local Security Checks
critical