Skip to content
CVE PROGRAM SOURCE RECORD7.5 High

CVE-2022-3212

DoS in axum-core due to missing request size limit

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

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

tokio-rs axum-core

  • 0.3.0-rc.1affected
  • unspecified to < 0.2.8affected

References