ADVISORIES

GitHub Advisory Database

GHSA-w65j-g6c7-g3m4

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.

Affected packages

EcosystemPackageAffected versions
crates.ioactix-web
All versions before 0.7.19 (fixed in 0.7.19)

References