What’s Vulnerable › Vulnerabilities

CVE-2022-31005: Integer Overflow in Vapor's HTTP Range Request

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.

Affected products

How to fix

Upgrade to a fixed version: vapor 4.60.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-31005 or the next vulnerability affects your stack