Advisory

GHSA-w65j-g6c7-g3m4

Also known as: CVE-2018-25024, CVE-2018-25025, CVE-2018-25026, GHSA-7x36-h62w-vw65, GHSA-9qj6-4rfq-vm84, GHSA-fgfm-hqjw-3265, RUSTSEC-2018-0019

Summary

Multiple memory safety issues in actix-web

Details

Affected versions contain multiple memory safety issues, such as:

  • Unsoundly coercing immutable references to mutable references
  • Unsoundly extending lifetimes of strings
  • Adding the Send marker trait to objects that cannot be safely sent between threads

This may result in a variety of memory corruption scenarios, most likely use-after-free.

A signficant refactoring effort has been conducted to resolve these issues.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-08-25 20:42 UTC
Modified
2026-06-09 11:00 UTC

Affected packages and fixes

actix-web

crates.io · All systems

Affected

  • introduced 0, fixed 0.7.19 (semver)

Fixed versions

0.7.19

Fix

  • Fixed version 0.7.19
    cargo update -p actix-web --precise 0.7.19

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences