Skip to content
OpenAdvisories
High · 7.5 CVE-2022-31005 EUVD-2023-1891GHSA-vj2m-9f5j-mpr5

Integer Overflow in Vapor's HTTP Range Request

Published May 31, 2022 · Updated Apr 22, 2025 · Assigned by GitHub_M

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

VendorProductAffectedFixed
vapor vapor < 4.60.3 —

Affected packages

EcosystemPackageAffectedFixedRecord
SwiftURL github.com/vapor/vapor < 4.60.3 4.60.3 GHSA-vj2m-9f5j-mpr5

References