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
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| tokio-rs | axum-core | 0.3.0-rc.1; >= unspecified, < 0.2.8 |
References
- https://research.jfrog.com/vulnerabilities/axum-core-dos/Exploit, Third Party Advisory
- https://rustsec.org/advisories/RUSTSEC-2022-0055.htmlExploit, Issue Tracking, Patch, Third Party Advisory
- https://research.jfrog.com/vulnerabilities/axum-core-dos/Exploit, Third Party Advisory
- https://rustsec.org/advisories/RUSTSEC-2022-0055.htmlExploit, Issue Tracking, Patch, Third Party Advisory
Timeline
- Published
- Sep 14, 2022
- Last modified
- Jun 17, 2026
- NVD status
- Modified