{"cve":"CVE-2022-3212","nvd":{"published":"2022-09-14T16:15:11.883","modified":"2026-06-17T04:59:05.120","status":"Modified","description":"<bytes::Bytes as axum_core::extract::FromRequest>::from_request would not, by default, set a limit for the size of the request body. That meant if a malicious peer would send a very large (or infinite) body your server might run out of memory and crash. This also applies to these extractors which used Bytes::from_request internally: axum::extract::Form axum::extract::Json String","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-770"],"references":["https://research.jfrog.com/vulnerabilities/axum-core-dos/","https://rustsec.org/advisories/RUSTSEC-2022-0055.html","https://research.jfrog.com/vulnerabilities/axum-core-dos/","https://rustsec.org/advisories/RUSTSEC-2022-0055.html"],"products":["axum-core_project:axum-core"],"source":"nvd","synced_at":"2026-10-19T21:35:14.992143698+00:00"},"epss":{"cve":"CVE-2022-3212","score":0.01002,"percentile":0.6291,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-m77f-652q-wwp4","url":"https://osv.dev/vulnerability/GHSA-m77f-652q-wwp4","summary":"axum-core has no default limit put on request bodies","modified":"2023-11-08T04:09:34.414125Z","packages":[{"ecosystem":"crates.io","name":"axum-core","purl":"pkg:cargo/axum-core","ranges":["<0.2.8"],"fixed":["0.2.8"]},{"ecosystem":"crates.io","name":"axum-core","purl":"pkg:cargo/axum-core","ranges":[">=0.3.0-rc.1 <0.3.0-rc.2"],"fixed":["0.3.0-rc.2"]}]},{"id":"RUSTSEC-2022-0055","url":"https://osv.dev/vulnerability/RUSTSEC-2022-0055","summary":"No default limit put on request bodies","modified":"2023-11-08T04:09:34.414125Z","packages":[{"ecosystem":"crates.io","name":"axum-core","purl":"pkg:cargo/axum-core","ranges":[">=0.0.0-0 <0.2.8",">=0.3.0-rc.1 <0.3.0-rc.2"],"fixed":["0.2.8","0.3.0-rc.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}