CVE-2022-3212
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Summary
<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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| tokio-rs | axum-core | 0.3.0-rc.1 | affected |
| tokio-rs | axum-core | unspecified < 0.2.8 | affected |
Weaknesses
- CWE-770: CWE-770 Allocation of Resources Without Limits or Throttling
ADP Enrichment
CVE Program Container
Additional References
- https://research.jfrog.com/vulnerabilities/axum-core-dos/
- https://rustsec.org/advisories/RUSTSEC-2022-0055.html
References
- https://research.jfrog.com/vulnerabilities/axum-core-dos/
- https://rustsec.org/advisories/RUSTSEC-2022-0055.html
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.