CVE-2021-28875

Source
https://cve.org/CVERecord?id=CVE-2021-28875
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-28875.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-28875
Downstream
Published
2021-04-11T20:15:12.627Z
Modified
2026-03-14T10:54:03.068860Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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

References

Affected packages

Git / github.com/rust-lang/rust

Affected ranges

Type
GIT
Repo
https://github.com/rust-lang/rust
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.50.0"
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-28875.json"