ADVISORIES

Vulnerability

CVE-2022-3212

<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

2 advisories report this vulnerability, across 1 ecosystem.

High severity crates.io 2

Advisories

  • GHSA-m77f-652q-wwp4

    axum-core has no default limit put on request bodies

    High CVE-2022-3212 crates.io Updated 8 November 2023
  • RUSTSEC-2022-0055

    No default limit put on request bodies

    CVE-2022-3212 crates.io Updated 8 November 2023

References