CVE-2022-3212CWE-770

DoS in axum-core due to missing request size limit

High · published September 14, 2022

CVSS v3.1
7.5
EPSS
1%
Percentile
62.6
In the wild
Unconfirmed
What it is

<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

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.01002 · 62.6th percentile
Weakness
CWE-770 · Allocation of Resources Without Limits or Throttling
Published
2022-09-14T16:05Z
EPSS history
Timeline
  • 14 SEP 16:05Z
    DoS in axum-core due to missing request size limit
    cvelistv5