CVE-2022-3212

HIGH

axum-core < 0.2.8 - Denial of Service via Unbounded Request Body

Title source: llm
STIX 2.1

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

References (2)

Core 2
Core References
Exploit, Third Party Advisory x_refsource_misc
https://research.jfrog.com/vulnerabilities/axum-core-dos/
Exploit, Issue Tracking, Patch, Third Party Advisory x_refsource_misc
https://rustsec.org/advisories/RUSTSEC-2022-0055.html

Scores

CVSS v3 7.5
EPSS 0.0080
EPSS Percentile 51.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-770
Status published
Products (3)
axum-core_project/axum-core 0.3.0 rc1
axum-core_project/axum-core < 0.2.8
crates.io/axum-core 0 - 0.2.8crates.io
Published Sep 14, 2022
Tracked Since Feb 18, 2026