← Database

CVE-2022-3212

HIGH CVSS: 7.5 Published: 2022-09-14 Modified: 2026-06-17

Description

::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 Platforms

Axum-Core Project Axum-Core

Weakness Type

CWE-770, CWE-770

References