CVE-2022-31019
DoS Vulnerability in URLEncodedFormDecoder in Vapor
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 a process crash. This issue has been fixed in version 4.61.1.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 1.663% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:57:41.748Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 7.5 · published by GitHub_MCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Assessment source · checked 2026-11-19T13:01:34.645Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:57:41.748Z | CISA KEV |
| cvss | verified | 2026-11-19T13:01:34.645Z | CVE Program |
| epss | verified | 2026-11-19T16:04:33.773Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:59:43.997Z | OSV |
| affected | verified | 2026-11-19T13:01:34.645Z | CVE Program |
| lifecycle | verified | 2026-11-19T13:01:34.645Z | CVE Program |
Affected versions and configuration
vapor vapor; default status: unknown: < 4.61.1 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "vapor",
"product": "vapor",
"versions": [
{
"status": "affected",
"version": "< 4.61.1"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://github.com/vapor/vapor/security/advisories/GHSA-qvxg-wjxc-r4gg",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "https://github.com/vapor/vapor/commit/6c63226a4ab82ce53730eb1afb9ca63866fcf033",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-03T07:03:40.210Z"
}
},
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2022-31019",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-04-22T15:40:52.632289Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-04-22T17:54:38.010Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-qvxg-wjxc-r4gg",
"aliases": [
"CVE-2022-31019"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.61.1"
}
]
}
],
"package": {
"name": "github.com/vapor/vapor",
"purl": "pkg:swift/github.com/vapor/vapor",
"ecosystem": "SwiftURL"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/06/GHSA-qvxg-wjxc-r4gg/GHSA-qvxg-wjxc-r4gg.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/vapor/vapor/security/advisories/GHSA-qvxg-wjxc-r4gg",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-31019",
"type": "ADVISORY"
},
{
"url": "https://github.com/vapor/vapor/commit/6c63226a4ab82ce53730eb1afb9ca63866fcf033",
"type": "WEB"
},
{
"url": "https://github.com/vapor/vapor",
"type": "PACKAGE"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-120",
"CWE-121",
"CWE-674"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2022-06-09T13:15:00Z",
"github_reviewed_at": "2023-06-07T16:11:16Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | SwiftURL / package | github.com/vapor/vapor | Not a distribution channel | 4.61.1 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T13:01:34.645ZArchived source JSON
Source publication: 2022-06-06T21:05:20.000Z
Source modification: 2025-04-22T17:54:38.010ZDocument fingerprint
184a8440ddbda8b7fd4970b3cd82fb68a6f5e06c7968d9fa5c3ea6e10da8e7a2 - OSVConsulted: 2026-11-19T12:59:43.997ZArchived source JSON
Source publication: 2023-06-07T16:11:16.000Z
Source modification: 2023-11-08T04:09:22.722ZDocument fingerprint
c0f05e3d3c9e87345a9d225bd6180420dd43f32f8abcddafd01864ddbad15b44 - CISA KEVConsulted: 2026-11-19T16:57:41.748ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:33.773ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
61a73aadbfc560e47e1294f3a67a7c0f50173e56af53ae885ac6a32a73b8f00f
Official status history
- UNKNOWN → PUBLISHED · · evidence