CVE-2022-3212: axum-core_project axum-core
Vulnerability summary
CVE-2022-3212 is a high (CVSS 7.5) vulnerability in axum-core_project axum-core. EPSS estimates a 1.00% chance of exploitation in the next 30 days, higher than 62.3% of scored vulnerabilities. 2 public exploits are recorded.
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.00%
Chance of exploitation in the next 30 days
Percentile
62%
Versus all other CVEs
30-day change
+0.02 pp
From 0.98% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundExploit Reference (research.jfrog.com)
Maturity: unknown
Exploit Reference (rustsec.org)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
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