Read the docs
TI-2022-13051 Aliases CVE-2022-31005GHSA-vj2m-9f5j-mpr5

Integer Overflow in Vapor's HTTP Range Request

Priority HIGH 72CWE-190Published · 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-190 and the CVSS impact.

Summary

Vapor is an HTTP web framework for Swift. Users of Vapor prior to version 4.60.3 with FileMiddleware enabled are vulnerable to an integer overflow vulnerability that can crash the application. Version 4.60.3 contains a patch for this issue. As a workaround, disable FileMiddleware and serve via a Content Delivery Network.

Why it matters now

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

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.60.34.60.3Patch availableCNA
—github.com/vapor/vapor (SwiftURL)before 4.60.34.60.3Patch availableGHSA-vj2m-9f5j-mpr5
  • vapor Vendorvapor Affected before 4.60.3 Fixed in 4.60.3 Patch available CNA
  • github.com/vapor/vapor (SwiftURL) Vendor— Affected before 4.60.3 Fixed in 4.60.3 Patch available GHSA-vj2m-9f5j-mpr5

CPE configurations NVD · 1

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

Remediation

  • Fix · CNA vapor (vapor) Fixed in 4.60.3
  • Fix · GHSA-vj2m-9f5j-mpr5 github.com/vapor/vapor (SwiftURL) Fixed in 4.60.3 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-31005
  2. 2026-10-03 Alias added: GHSA-vj2m-9f5j-mpr5

References

  • TI-2022-13064 DoS Vulnerability in URLEncodedFormDecoder in Vapor 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