CVE-2022-31005
High
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.
SeverityHigh
CVSS7.5
Exploit probability—
ProductVapor
PublishedMay 31, 2022
First seenMay 31, 2022
Weakness typeCWE-190Integer overflow
How to fix
Update
- vapor vapor4.60.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| vapor vapor | v < 4.60.3 | 4.60.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.