{"schemaVersion":3,"id":"CVE-2022-3212","aliases":["GHSA-m77f-652q-wwp4","RUSTSEC-2022-0055"],"status":"published","duplicateOf":null,"title":null,"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","dates":{"published":"2022-09-14T16:05:09.000Z","modified":"2024-08-03T01:00:10.862Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Crates.io","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01002,"percentile":0.62338,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.02299999999999993,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00979},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01002,"percentile":0.62338}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01002,"percentile":0.62338}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_869474FE4491A0D8","name":"Exploit Reference (research.jfrog.com)","source":"reference","url":"https://research.jfrog.com/vulnerabilities/axum-core-dos/","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_37ADFD0E9DFD9D2A","name":"Exploit Reference (rustsec.org)","source":"reference","url":"https://rustsec.org/advisories/RUSTSEC-2022-0055.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling","description":"The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/770.html"}],"affected":[{"vendor":"axum-core_project","product":"axum-core","name":"axum-core","label":"axum-core","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.2.8","noFixRecorded":false,"fixedIn":null},{"text":"0.3.0:rc1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.2.8 | 0.3.0:rc1","eol":null,"hubHref":"/vendor/axum-core_project/axum-core"},{"vendor":"Crates.Io","product":"axum-core","name":"axum-core","label":"axum-core","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/axum-core","purlType":"cargo","versions":[{"text":"< 0.2.8","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.3.0-rc.1, < 0.3.0-rc.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.2.8 | ≥ 0.3.0-rc.1, < 0.3.0-rc.2","eol":null,"hubHref":null},{"vendor":"tokio-rs","product":"axum-core","name":"axum-core","label":"axum-core","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"0.3.0-rc.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ unspecified, < 0.2.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"0.3.0-rc.1 | ≥ unspecified, < 0.2.8","eol":null,"hubHref":"/vendor/tokio-rs/axum-core"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://research.jfrog.com/vulnerabilities/axum-core-dos/","label":"research.jfrog.com/vulnerabilities/axum-core-dos/","hostname":"research.jfrog.com","tags":["X Refsource MISC","Exploit","Third Party Advisory"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2022-0055.html","label":"rustsec.org/advisories/RUSTSEC-2022-0055.html","hostname":"rustsec.org","tags":["X Refsource MISC","WEB","Advisory","Exploit","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3212","label":"nvd.nist.gov/vuln/detail/CVE-2022-3212","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/tokio-rs/axum/pull/1346","label":"github.com/tokio-rs/axum/pull/1346","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/tokio-rs/axum","label":"github.com/tokio-rs/axum","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://crates.io/crates/axum-core","label":"crates.io/crates/axum-core","hostname":"crates.io","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-09-14T16:05:09.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T01:00:10.862Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T07:43:52.299Z","stale":false,"partial":false}}