Skip to content

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

HighCVSS 7.5 EPSS 2.1%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
swifturl github.com/vapor/vapor(SwiftURL) < 4.60.3 4.60.3 Fixed
vapor < 4.60.3; = < 4.60.3 4.60.3 Fixed

Affected products

ProductAffected versionsFixed in
swifturl github.com/vapor/vapor(SwiftURL) < 4.60.3 4.60.3
vapor = < 4.60.3 No fix listed
vapor < 4.60.3 4.60.3

References