GHSA-w65j-g6c7-g3m4: Actix web Multiple Memory Safety Issues Vulnerability
MODERATEGHSA-w65j-g6c7-g3m4 is a MODERATE multiple memory safety issues vulnerability (CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')) affecting Actix web libraries in the crates.io ecosystem. The issue involves multiple memory safety issues in actix-web. Remediation is available by upgrading affected packages to version 0.7.19.
GHSA-w65j-g6c7-g3m4 at a Glance
How to Fix GHSA-w65j-g6c7-g3m4
To remediate this vulnerability, upgrade all affected Actix web dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade actix-web to 0.7.19
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for actix-web
How to Check if You Are Affected
To determine whether your application is affected by GHSA-w65j-g6c7-g3m4, inspect your project dependencies for Actix web:
inspect dependencies for actix-web
Analyze the terminal output to locate any version of Actix web in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.7.19), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition'), where the product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently. In Actix web, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-w65j-g6c7-g3m4 Affected Actix web Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
actix-web
|
crates.io |
< 0.7.19
|
0.7.19
|
References
Frequently Asked Questions
What is GHSA-w65j-g6c7-g3m4?
Which Actix web versions are affected?
What version fixes GHSA-w65j-g6c7-g3m4?
Is actix-web affected?
What CWE is associated with GHSA-w65j-g6c7-g3m4?
How can I check crates.io dependencies for GHSA-w65j-g6c7-g3m4?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w65j-g6c7-g3m4",
"modified" : "2026-06-09T10:46:24Z",
"published" : "2021-08-25T20:42:50Z",
"aliases" : [ ],
"summary" : "Multiple memory safety issues in actix-web",
"details" : "Affected versions contain multiple memory safety issues, such as:\n\n - Unsoundly coercing immutable references to mutable references\n - Unsoundly extending lifetimes of strings\n - Adding the `Send` marker trait to objects that cannot be safely sent between threads\n\nThis may result in a variety of memory corruption scenarios, most likely use-after-free.\n \nA signficant refactoring effort has been conducted to resolve these issues.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "actix-web"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.7.19"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/actix/actix-web/issues/289"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/actix/actix-web"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2018-0019.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-362" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2021-08-24T19:13:30Z",
"nvd_published_at" : null
}
}