Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Vapor | Vapor | < 4.60.3 |
Related Weaknesses (CWE)
References
- https://github.com/vapor/vapor/commit/953a349b539b3e0d3653585c8ffb50c427986df1PatchThird Party Advisory
- https://github.com/vapor/vapor/releases/tag/4.60.3Release NotesThird Party Advisory
- https://github.com/vapor/vapor/security/advisories/GHSA-vj2m-9f5j-mpr5ExploitThird Party Advisory
- https://github.com/vapor/vapor/commit/953a349b539b3e0d3653585c8ffb50c427986df1PatchThird Party Advisory
- https://github.com/vapor/vapor/releases/tag/4.60.3Release NotesThird Party Advisory
- https://github.com/vapor/vapor/security/advisories/GHSA-vj2m-9f5j-mpr5ExploitThird Party Advisory
FAQ
What is CVE-2022-31005?
CVE-2022-31005 is a vulnerability with a CVSS score of 7.5 (HIGH). 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...
How severe is CVE-2022-31005?
CVE-2022-31005 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-31005?
Check the references section above for vendor advisories and patch information. Affected products include: Vapor Vapor.