Description (CNA)
<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 (CNA)
| Vendor / product | Versions |
|---|---|
| tokio-rs / axum-core | affected 0.3.0-rc.1; affected unspecified before 0.2.8 |
CWE
CWE-770
References
- https://research.jfrog.com/vulnerabilities/axum-core-dos/
- https://rustsec.org/advisories/RUSTSEC-2022-0055.html
ADP enrichment
No English description supplied.