PT-2020-17533 · Rust · Actix-Http
Published
2020-01-24
·
Updated
2021-08-25
·
CVE-2020-35901
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
actix-http crate versions prior to 2.0.0-alpha.1
Description
The issue is related to a use-after-free in
BodyStream. Affected versions of the crate did not require the buffer wrapped in BodyStream to be pinned, but treated it as if it had a fixed location in memory, which may result in a use-after-free.Recommendations
For versions prior to 2.0.0-alpha.1, update to version 2.0.0-alpha.1 or later, which includes the correction by making the
MessageBody trait require Unpin and modifying the poll next() function to accept Pin<&mut Self> instead of &mut self.Exploit
Fix
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Actix-Http