CVEvulnerability
CVE-2022-3212
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2022-09-14
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-770
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
Affected configurations
• axum-core project axum-core (< 0.2.8)
• axum-core project axum-core 0.3.0
Related
Weakness · CWE (1)
- CWE-770 Allocation of Resources Without Limits or Throttling weakness
References
- https://research.jfrog.com/vulnerabilities/axum-core-dos/ Exploit, Third Party Advisory
- https://rustsec.org/advisories/RUSTSEC-2022-0055.html Exploit, 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.html Exploit, Issue Tracking, Patch, Third Party Advisory