7.5

CVE-2022-3212: DoS in axum-core due to missing request size limit

Modified
AliasesGHSA-m77f-652q-wwp4RUSTSEC-2022-0055
Published 14-09-2022Last modified 03-08-2024

Vulnerability summary

CVE-2022-3212 is a high (CVSS 7.5) vulnerability in axum-core_project axum-core. EPSS estimates a 1.05% chance of exploitation in the next 30 days, higher than 65.5% of scored vulnerabilities. 2 public exploits are recorded.

Priority
Prioritisepublic exploit

Public exploit (reference, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
1.05%
0%100%
Low · +0.05 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits2reference

Timeline

  1. 14-09-2022
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last 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

EPSS trend

Probability

1.05%

Chance of exploitation in the next 30 days

Percentile

66%

Versus all other CVEs

30-day change

Increase +0.05 pp

From 1.00% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

2 found
  • referenceUnverified

    Exploit Reference (research.jfrog.com)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (rustsec.org)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Axum-core_project1 product
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