CVE-2022-3212: DoS in axum-core due to missing request size limit
Vulnerability summary
CVE-2022-3212 is a high (CVSS 7.5) vulnerability in axum-core_project axum-core. EPSS estimates a 1.05% chance of exploitation in the next 30 days, higher than 65.5% of scored vulnerabilities. 2 public exploits are recorded.
Public exploit (reference, Date unknown)
Source freshness unavailable
How is this decided?Timeline
- 14-09-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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
CVSS metrics
3 scores · 3 sources · 1 version- OSV · Crates.ioEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.05%
Chance of exploitation in the next 30 days
Percentile
66%
Versus all other CVEs
30-day change
Increase +0.05 pp
From 1.00% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
2 foundExploit Reference (research.jfrog.com)
Maturity: unknown
Exploit Reference (rustsec.org)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Axum-core_project1 product
- axum-core< 0.2.8 | 0.3.0:rc1
Crates.Io1 product
- axum-core< 0.2.8 | ≥ 0.3.0-rc.1, < 0.3.0-rc.2
Tokio-rs1 product
- axum-core0.3.0-rc.1 | ≥ unspecified, < 0.2.8
3 vendors · 3 products
References
6 links- rustsec.org/advisories/RUSTSEC-2022-0055.htmlX Refsource MISCWEBAdvisoryExploitIssue TrackingPatchThird Party Advisory
- github.com/tokio-rs/axumPACKAGE
- crates.io/crates/axum-corePACKAGE