{"id":"CVE-2025-53604","aliases":["CVE-2025-53604","GHSA-287x-9rff-qvcg","GHSA-fc83-9jwq-gc2m","RUSTSEC-2025-0015"],"related":[],"kind":"vulnerability","state":"published","title":"Rust Web Push is vulnerable to a DoS attack via a large integer in a Content-Length header","summary":"The web-push crate before 0.10.3 for Rust allows a denial of service (memory consumption) in the built-in clients via a large integer in a Content-Length header.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The web-push crate before 0.10.3 for Rust allows a denial of service (memory consumption) in the built-in clients via a large integer in a Content-Length header.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"web-push crate anterior a la versión 0.10.3 para Rust permite una denegación de servicio (consumo de memoria) en los clientes integrados a través de un entero grande en un encabezado Content-Length.","source":"nvd"}],"published":"2025-02-16T12:00:00.000Z","modified":"2026-06-17T09:38:34.200Z","severity":{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L","score":4,"rating":"MEDIUM"},"severities":[{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L","score":4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L","score":4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"}],"cwes":["CWE-130","CWE-770"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"0.10.3","status":"affected"}],"vendor":"pimeys","product":"web-push","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.10.4"}],"ecosystem":"crates.io","package":"web-push","purl":"pkg:cargo/web-push","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.10.4"}],"ecosystem":"crates.io","package":"web-push","purl":"pkg:cargo/web-push","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.10.3"}],"ecosystem":"crates.io","package":"web-push","purl":"pkg:cargo/web-push","source":"rustsec"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2025-0015.html","tags":["advisory","web"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://github.com/pimeys/rust-web-push/pull/68","tags":["web"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://crates.io/crates/web-push","tags":["package","web"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53604","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/pimeys/rust-web-push/commit/8447ed86bf3f24629abd7022b94104bf3cd64453","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/pimeys/rust-web-push","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-07-08T13:10:45.489Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-53604","url":"https://www.cve.org/CVERecord?id=CVE-2025-53604","licence":"CVE Terms of Use","modified":"2025-07-08T14:35:55.692Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-287x-9rff-qvcg","url":"https://github.com/advisories/GHSA-287x-9rff-qvcg","licence":"CC-BY-4.0","modified":"2025-10-28T06:29:10.187Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fc83-9jwq-gc2m","url":"https://github.com/advisories/GHSA-fc83-9jwq-gc2m","licence":"CC-BY-4.0","modified":"2025-10-28T06:29:10.187Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2025-0015","url":"https://rustsec.org/advisories/RUSTSEC-2025-0015.html","licence":"CC0-1.0","modified":"2025-10-28T06:29:10.187Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-53604","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53604","licence":"Public domain","modified":"2026-06-17T09:38:34.200Z"}],"updatedAt":"2026-11-25T22:59:00.675Z","epss":{"score":0.0043,"percentile":0.39099,"date":"2026-12-02T12:00:21.000Z"}}