CVE-2022-3212
published high CVSS 3.1 · 7.5DoS in axum-core due to missing request size limit
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| tokio-rs | — | axum-core0.3.0-rc.1 · unspecified to < 0.2.8 | Affected | Not stated | JFROG |
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
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- JFROG · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| tokio-rs | axum-core | 0.3.0-rc.1 (affected)unspecified to < 0.2.8 (affected · custom) | JFROG · cna |
Weaknesses
1- CWE-770 CWE-770 Allocation of Resources Without Limits or Throttling
References
2Provider assertions
2JFROG · cna
DoS in axum-core due to missing request size limit
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d96f1b6c135ad951e847cbbe22e7612078391475ad44668b600d5bc968640985
- Ingested
- 23 Sep 2026, 08:02:10 UTC
- Source record
- Official CVE record