1. Home
  2. Vulnerabilities
  3. CVE-2022-3212

CVE-2022-3212

<bytes::Bytes as axum_core::extract::FromRequest>::from_request would not, by default, set a limit for the…

Published 14 Sept 2022 · modified 17 Jun 2026 · Sources: NVD, EPSS (FIRST)

Medium 54/100

Summary

<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

Affected products and versions

Axum-core project (2 line(s))
Axum-core project
ProductVersionsFixed inSource
Axum-core before 0.2.8 (excluded) — NVD
Axum-core 0.3.0 — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

Exploit reported by sources

These links are tagged “exploit” by the NVD or CVE.org. We have neither verified nor copied them; open with care.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
NVD
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Weakness
CWE-770 · Autre (CWE-770)

How this data is obtained and calculated