CVE-2022-31005

HIGH

Vapor <4.60.3 - Buffer Overflow

Title source: llm
STIX 2.1

Description

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.

References (3)

Core 3
Core References
Exploit, Third Party Advisory x_refsource_confirm
https://github.com/vapor/vapor/security/advisories/GHSA-vj2m-9f5j-mpr5
Release Notes, Third Party Advisory x_refsource_misc
https://github.com/vapor/vapor/releases/tag/4.60.3

Scores

CVSS v3 7.5
EPSS 0.0062
EPSS Percentile 70.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-190
Status published
Products (2)
SwiftURL/github.com/vapor/vapor 0 - 4.60.3SwiftURL
vapor/vapor < 4.60.3
Published May 31, 2022
Tracked Since Feb 18, 2026