CVE-2022-31005

Integer Overflow in Vapor's HTTP Range Request

Published May 31, 2022 CVSS 3.1 · 7.5 High EPSS 2.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-1891 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.
Github GHSA Github GHSA GHSA-vj2m-9f5j-mpr5 Vapor vulnerable to denial of service in HTTP Range Request of FileMiddleware
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 22, 2025, 5:55 PM
Reserved
May 18, 2022, 12:00 AM
Status
Modified
Published
May 31, 2022, 8:15 PM
Modified
Jun 17, 2026, 4:44 AM