Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS0yZ2c1LTdjNHYtNnh4Ms4AAuzp
Duplicate of GHSA-m77f-652q-wwp4
Duplicate advisory
This advisory is a duplicate of GHSA-m77f-652q-wwp4. This link is maintained to preserve external references.
Original 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
Permalink: https://github.com/advisories/GHSA-2gg5-7c4v-6xx2JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0yZ2c1LTdjNHYtNnh4Ms4AAuzp
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: about 1 year ago
Updated: 10 months ago Widthdrawn: about 1 year ago
CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Identifiers: GHSA-2gg5-7c4v-6xx2
References:
- https://nvd.nist.gov/vuln/detail/CVE-2022-3212
- https://research.jfrog.com/vulnerabilities/axum-core-dos/
- https://rustsec.org/advisories/RUSTSEC-2022-0055.html
- https://github.com/advisories/GHSA-2gg5-7c4v-6xx2
Affected Packages
cargo:axum-core
Versions: = 0.3.0-rc.1, < 0.2.8Fixed in: 0.3.0-rc.2, 0.2.8