cve.bz

CVE-2022-3212

7.5 highEPSS 1.0%

High (7.5) in axum-core project axum-core. EPSS 1.0% chance of exploitation in the next 30 days. Fixed in axum-core 0.2.8, 0.3.0-rc.2.

<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

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.0% chance of exploitation in the next 30 days; higher than 62% of CVEs (scores of 2026-11-01)
CWE
CWE-770
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-m77f-652q-wwp4crates.ioaxum-core<0.2.80.2.8
GHSA-m77f-652q-wwp4crates.ioaxum-core>=0.3.0-rc.1 <0.3.0-rc.20.3.0-rc.2
RUSTSEC-2022-0055crates.ioaxum-core>=0.0.0-0 <0.2.8
>=0.3.0-rc.1 <0.3.0-rc.2
0.2.8, 0.3.0-rc.2

References

Check your stackJSON