PT-2020-17534 · Rust · Actix-Codec

Published

2020-01-30

·

Updated

2021-08-25

·

CVE-2020-35902

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions actix-codec crate versions prior to 0.3.0-beta.1
Description The issue is related to a use-after-free in Framed, where affected versions of the crate did not require the buffer wrapped in Framed to be pinned, but treated it as if it had a fixed location in memory. This may result in a use-after-free.
Recommendations For actix-codec crate versions prior to 0.3.0-beta.1, update to version 0.3.0-beta.1 or later, which corrected the flaw by making the affected functions 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

CVE-2020-35902
GHSA-RQGX-HPG4-456R
RUSTSEC-2020-0049

Affected Products

Actix-Codec