GHSA-w65j-g6c7-g3m4

Suggest an improvement
Source
https://github.com/advisories/GHSA-w65j-g6c7-g3m4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-w65j-g6c7-g3m4/GHSA-w65j-g6c7-g3m4.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-w65j-g6c7-g3m4
Aliases
Published
2021-08-25T20:42:50Z
Modified
2026-06-09T11:00:13Z
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.

Database specific
{
    "cwe_ids":  [
        "CWE-362"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2021-08-24T19:13:30Z",
    "nvd_published_at":  null,
    "severity":  "MODERATE"
}
References

Affected packages

crates.io / actix-web

Package

Name
actix-web
View open source insights on deps.dev
Purl
pkg:cargo/actix-web

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.7.19

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-w65j-g6c7-g3m4/GHSA-w65j-g6c7-g3m4.json"