# CVE-2020-35901: RUSTSEC-2020-0048 - Use-after-free in BodyStream due to lack of pinning

Source: https://junglewise.ai/threats/cve-2020-35901-use-after-free-in-actix-http  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2020-01-24  
License: CC BY 4.0 with a link back

CVE-2020-35901 · Severity: low · CVSS 3.1 · Published 2020-01-24

Use-after-free in BodyStream due to lack of pinning

Technologies: [actix-http (crates.io)](https://junglewise.ai/threats/technologies/actix-http). Vendors: [crates.io](https://junglewise.ai/threats/vendors/crates-io).

## Quick answers

**Is CVE-2020-35901 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2020-35901 being exploited in the wild.

**How severe is CVE-2020-35901?** Low severity, with a CVSS score of 3.1, published 24 January 2020.

**Which products and versions are affected?** actix-http (crates.io) SEMVER:introduced=0,fixed=2.0.0, SEMVER:introduced=0.0.0-0,fixed=2.0.0-alpha.1.

**Is there a fix for CVE-2020-35901?** Yes. actix-http (crates.io): upgrade to 2.0.0, 2.0.0-alpha.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2020-35901?** Check whether you run actix-http (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- actix-http (crates.io): upgrade to 2.0.0, 2.0.0-alpha.1 or later

  ```sh
  cargo update -p actix-http
  ```


## Affected products

- actix-http (crates.io) SEMVER:introduced=0,fixed=2.0.0, SEMVER:introduced=0.0.0-0,fixed=2.0.0-alpha.1

## Identifiers

- CVE-2020-35901
- GHSA-v3j6-xf77-8r9c
- RUSTSEC-2020-0048

## Related threats

- [actix-http request smuggling through malformed chunked trailers](https://junglewise.ai/threats/rustsec-2026-0446-request-smuggling-through-malformed-chunked-request-5ce6bfaf)
- [actix-http memory exhaustion via large-window Brotli](https://junglewise.ai/threats/rustsec-2026-0455-large-window-brotli-bodies-bypass-decompression-8b64dc69)
- [actix-http unbounded decompression denial of service](https://junglewise.ai/threats/rustsec-2026-0448-unbounded-decompression-can-exhaust-memory-and-cpu-f56d9644)
- [actix-http has HTTP/1.1 CL.TE Request Smuggling](https://junglewise.ai/threats/cve-2026-73051-actix-http-has-http-1-1-cl-te-request-smuggling)
- [RUSTSEC-2021-0081 - Potential request smuggling capabilities due to lack of input validation](https://junglewise.ai/threats/cve-2021-38512-http-request-smuggling-in-actix-http)
