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: over 1 year ago
Updated: about 1 year ago Widthdrawn: over 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
Dependent packages: 51Dependent repositories: 4,438
Downloads: 39,865,622 total
Affected Version Ranges: = 0.3.0-rc.1, < 0.2.8
Fixed in: 0.3.0-rc.2, 0.2.8
All affected versions: 0.0.0, 0.1.0, 0.1.1, 0.1.2, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.3.0-rc.1
All unaffected versions: 0.2.8, 0.2.9, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.4.0, 0.4.1, 0.4.2, 0.4.3