Integer overflow in Vapor
CVE-2022-31005
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.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.021, 82.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Vapor — versions < 4.60.3
Weakness classification (CWE)
References
- github.com/vapor/vapor/security/advisories/GHSA-vj2m-9f5j-mpr5 (Exploit, Third Party Advisory)
- github.com/vapor/vapor/commit/953a349b539b3e0d3653585c8ffb50c427986df1 (Patch, Third Party Advisory)
- github.com/vapor/vapor/releases/tag/4.60.3 (Third Party Advisory, Release Notes)