RUSTSEC-2020-0048
Dashboard / Vulnerabilities / RUSTSEC-2020-0048
RUSTSEC-2020-0048
Published: 24 Jan 2020Last Modified: 8 Nov 2023
Aliases:
Summary: Use-after-free in BodyStream due to lack of pinning
Details: Affected versions of this crate did not require the buffer wrapped in `BodyStream` to be pinned, but treated it as if it had a fixed location in memory. This may result in a use-after-free. The flaw was corrected by making the trait `MessageBody` require `Unpin` and making `poll_next()` function accept `Pin<&mut Self>` instead of `&mut self`.
References: https://crates.io/crates/actix-http, https://rustsec.org/advisories/RUSTSEC-2020-0048.html, https://github.com/actix/actix-web/issues/1321
Affected packages
Package
Name: actix-http
Purl: pkg:cargo/actix-http
Affected ranges
Type: SEMVER
Events:
Introduced- 0.0.0-0
Fixed -2.0.0-alpha.1
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
