CVE-2021-28879

critical
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, the Zip implementation can report an incorrect size due to an integer overflow. This bug can lead to a buffer overflow when a consumed Zip iterator is used again.

References

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

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

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

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-11

Updated: 2021-04-27

Type: CWE-190

Risk Information

CVSS v2

Base Score: 7.5

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

Impact Score: 6.4

Exploitability Score: 10

Severity: HIGH

CVSS v3

Base Score: 9.8

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

Impact Score: 5.9

Exploitability Score: 3.9

Severity: CRITICAL

Tenable Plugins

View all (6 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
149291Photon OS 3.0: Rust PHSA-2021-3.0-0228NessusPhotonOS Local Security Checks
critical
149286Photon OS 4.0: Rust PHSA-2021-4.0-0017NessusPhotonOS Local Security Checks
critical