What’s Vulnerable › Vulnerabilities

CVE-2021-28875

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.

Affected products

How to fix

Upgrade to a fixed version: rust-lang rust 1.50.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-28875 or the next vulnerability affects your stack