CVE-2021-28875

High

Description

In the standard library in Rust before 1.50.0, read_to_end() does not validate the return value from Read in an unsafe context. This bug could lead to a buffer overflow.

SeverityHigh
CVSS7.5
Exploit probability—
ProductRust
PublishedApr 11, 2021
First seenApr 11, 2021

How to fix

Update
  • rust-lang rust1.50.0 or later

Affected products

ProductAffected versionsFixed in
rust-lang rustv < 1.50.01.50.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2021-28875 · Rust · Dark Radar