CVE-2022-3212
DoS in axum-core due to missing request size limit
HIGH 7.5EPSS 1.0%
<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
- Affected
- tokio-rs · axum-core
- CVSS v3.1 NVD
- 7.5 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - EPSS
- 1.00% chance of exploitation in the next 30 days, 62nd percentile
- Published
- 2022-09-14
- Updated
- 2024-08-03
Proof-of-concept exploits (1)
Security advisories
- https://research.jfrog.com/vulnerabilities/axum-core-dos
- https://rustsec.org/advisories/RUSTSEC-2022-0055.html
- advisories/GHSA-m77f-652q-wwp4