Security mailing lists by PureSourceCode

CVE-2022-3212

HIGH 7.5CVSS 3.1

axum-core has no default limit put on request bodies

<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

Published
14 Sep 2022
Last modified
17 Jun 2026
Assigned by
reefs@jfrog.com
NVD status
Modified
Weakness
CWE-770
Also known as
GHSA-m77f-652q-wwp4RUSTSEC-2022-0055
Sources
NVDJSONOSV GHSA-m77f-652q-wwp4JSONOSV RUSTSEC-2022-0055JSON

Scores

SourceScored byVersionScoreVector / decision
NVD reefs@jfrog.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD axum-core_project axum-core
cpe:2.3:a:axum-core_project:axum-core:*:*:*:*:*:rust:*:*
< 0.2.8 0.2.8
NVD axum-core_project axum-core
cpe:2.3:a:axum-core_project:axum-core:0.3.0:rc1:*:*:*:rust:*:*
= 0.3.0
OSV crates.io axum-core < 0.2.8 0.2.8
OSV crates.io axum-core >= 0.3.0-rc.1, < 0.3.0-rc.2 0.3.0-rc.2
OSV crates.io axum-core >= 0.0.0-0, < 0.2.8; >= 0.3.0-rc.1, < 0.3.0-rc.2 0.2.8, 0.3.0-rc.2

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 14 Sep 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 31 Aug 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Sep 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.