CVE-2022-31019: Vapor is a server-side Swift HTTP web framework
CVE-2022-31019 is a high-severity flaw (CVSS 7.5) affecting vapor. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Vapor is a server-side Swift HTTP web framework. When using automatic content decoding an attacker can craft a request body that can make the server crash with the following request: `curl -d "array[_0][0][array][_0][0][array]$(for f in $(seq 1100); do echo -n '[_0][0][array]'; done)[string][_0]=hello%20world" http://localhost:8080/foo`. The issue is unbounded, attacker controlled stack growth which will at some point lead to a stack overflow and
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-31019?
vapor: upgrade to 4.61.1. Exact commands for each OS are on this page.
Is CVE-2022-31019 being exploited?
CVE-2022-31019 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-31019 affect?
CVE-2022-31019 affects vapor. Severity is high (CVSS 7.5). Vapor is a server-side Swift HTTP web framework. When using automatic content decoding an attacker can craft a request body that can make the server crash with the following request: `curl -d "array[_0][0][array][_0][0][array]$(for f in $(s
How urgent is CVE-2022-31019?
Priority 55/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action
Software pages
curl vulnerabilities · Swift vulnerabilities
Related CVEs
- CVE-2024-21631 MEDIUM 6.5 UPGRADE Vapor is an HTTP web framework for Swift
- CVE-2023-44386 MEDIUM 5.3 UPGRADE Vapor is an HTTP web framework for Swift
- CVE-2022-31005 HIGH 7.5 UPGRADE Vapor is an HTTP web framework for Swift
- CVE-2021-32742 HIGH 7.5 UPGRADE Vapor is a web framework for Swift
- CVE-2021-21328 MEDIUM 5.3 UPGRADE Vapor is a web framework for Swift