GHSA-fc83-9jwq-gc2m: Web push Denial of Service Vulnerability
MODERATEGHSA-fc83-9jwq-gc2m is a MODERATE denial of service vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting Web push libraries in the crates.io ecosystem. The issue involves web push denial of service via malicious web push endpoint. Remediation is available by upgrading affected packages to version 0.10.4.
GHSA-fc83-9jwq-gc2m at a Glance
How to Fix GHSA-fc83-9jwq-gc2m
To remediate this vulnerability, upgrade all affected Web push 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 web-push to 0.10.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for web-push
How to Check if You Are Affected
To determine whether your application is affected by GHSA-fc83-9jwq-gc2m, inspect your project dependencies for Web push:
inspect dependencies for web-push
Analyze the terminal output to locate any version of Web push in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.10.4), 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-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. In Web push, 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-fc83-9jwq-gc2m Affected Web push Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
web-push
|
crates.io |
< 0.10.4
|
0.10.4
|
References
Frequently Asked Questions
What is GHSA-fc83-9jwq-gc2m?
Which Web push versions are affected?
What version fixes GHSA-fc83-9jwq-gc2m?
Is web-push affected?
What CWE is associated with GHSA-fc83-9jwq-gc2m?
How can I check crates.io dependencies for GHSA-fc83-9jwq-gc2m?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fc83-9jwq-gc2m",
"modified" : "2025-03-24T19:39:27Z",
"published" : "2025-03-24T19:39:27Z",
"aliases" : [ ],
"summary" : "Web Push Denial of Service via malicious Web Push endpoint",
"details" : "Prior to version 0.10.3, the built-in clients of the `web-push` crate eagerly allocated memory based on the `Content-Length` header returned by the Web Push endpoint. Malicious Web Push endpoints could return a large `Content-Length` without ever having to send as much data, leading to denial of service by memory exhaustion.\n\nServices providing Web Push notifications typically allow the user to register an arbitrary endpoint, so the endpoint should not be trusted.\n\nThe fixed version 0.10.3 now limits the amount of memory it will allocate for each response, limits the amount of data it will read from the endpoint, and returns an error if the endpoint sends too much data.\n\nAs before, it is recommended that services add a timeout for each request to Web Push endpoints.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "web-push"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.10.4"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/pimeys/rust-web-push/pull/68"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/pimeys/rust-web-push"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2025-0015.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-770" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-03-24T19:39:27Z",
"nvd_published_at" : null
}
}