Read the docs
TI-2022-13064 Aliases CVE-2022-31019GHSA-qvxg-wjxc-r4gg

DoS Vulnerability in URLEncodedFormDecoder in Vapor

Priority HIGH 72CWE-120Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-120 and the CVSS impact.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01663 76th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed vapor (vapor): 4.61.1github.com/vapor/vapor (SwiftURL): 4.61.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
vaporvaporbefore 4.61.14.61.1Patch availableCNA
—github.com/vapor/vapor (SwiftURL)before 4.61.14.61.1Patch availableGHSA-qvxg-wjxc-r4gg
  • vapor Vendorvapor Affected before 4.61.1 Fixed in 4.61.1 Patch available CNA
  • github.com/vapor/vapor (SwiftURL) Vendor— Affected before 4.61.1 Fixed in 4.61.1 Patch available GHSA-qvxg-wjxc-r4gg

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:vapor:vapor:*:*:*:*:*:*:*:*before 4.61.1Vulnerablevapor
  • cpe:2.3:a:vapor:vapor:*:*:*:*:*:*:*:* Versions before 4.61.1 Vulnerable ·vapor

Remediation

  • Fix · CNA vapor (vapor) Fixed in 4.61.1
  • Fix · GHSA-qvxg-wjxc-r4gg github.com/vapor/vapor (SwiftURL) Fixed in 4.61.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-31019
  2. 2026-10-03 Alias added: GHSA-qvxg-wjxc-r4gg

References

  • TI-2022-13051 Integer Overflow in Vapor's HTTP Range Request CVSS 3.1HIGH 7.5
  • TI-2024-14356 Integer overflow in URI leading to potential host spoofing CVSS 3.1MEDIUM 6.5
  • TI-2023-23892 Incorrect request error handling triggers server crash in Vapor CVSS 3.1MEDIUM 5.3

Sources