Rust Web Push is vulnerable to a DoS attack via a large integer in a Content-Length headerGHSA-287x-9rff-qvcg
MEDIUMFix: pimeys/rust-web-push#68GHSA-287x-9rff-qvcg is a medium-severity (CVSS 4) CWE-130 vulnerability in web-push. A fix is available for web-push — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-287x-9rff-qvcg.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
web-pushReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects crates.io packages — download data is not available via public APIs for these ecosystems.
Description
The web-push crate before 0.10.4 for Rust allows a denial of service (memory consumption) in the built-in clients via a large integer in a Content-Length header. The patch was initially made available in version 0.10.3, but version 0.10.3 has since been yanked.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🦀crates.io | web-push | all versions | 0.10.4cargo update -p web-push --precise 0.10.4 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for web-push, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update web-push to 0.10.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-287x-9rff-qvcg is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Frequently Asked Questions
Is GHSA-287x-9rff-qvcg in your dependencies?
Find it across crates.io, including transitive dependencies.