GHSA-2gg5-7c4v-6xx2

Suggest an improvement
Source
https://github.com/advisories/GHSA-2gg5-7c4v-6xx2
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/09/GHSA-2gg5-7c4v-6xx2/GHSA-2gg5-7c4v-6xx2.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-2gg5-7c4v-6xx2
Withdrawn
2022-09-16T20:59:09Z
Published
2022-09-15T00:00:19Z
Modified
2022-09-19T20:19:08Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Duplicate of GHSA-m77f-652q-wwp4
Details

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

Database specific
{
    "cwe_ids":  [
        "CWE-770"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2022-09-16T20:59:09Z",
    "nvd_published_at":  "2022-09-14T16:15:00Z",
    "severity":  "HIGH"
}
References

Affected packages

crates.io / axum-core

Package

Name
axum-core
View open source insights on deps.dev
Purl
pkg:cargo/axum-core

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.2.8

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/09/GHSA-2gg5-7c4v-6xx2/GHSA-2gg5-7c4v-6xx2.json"

crates.io / axum-core

Package

Name
axum-core
View open source insights on deps.dev
Purl
pkg:cargo/axum-core

Affected ranges

Type
SEMVER
Events
Introduced
0.3.0-rc.1
Fixed
0.3.0-rc.2

Affected versions

0.*
0.3.0-rc.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/09/GHSA-2gg5-7c4v-6xx2/GHSA-2gg5-7c4v-6xx2.json"