CVE-2022-31005

HIGH
Published May 31, 20224y ago · Modified Jun 17, 20262w ago
7.5 CVSS 3.1
High
Find Similar
Published May 31, 2022 4y ago
Last Modified Jun 17, 2026 2w ago

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 Details

Base Score
7.5
Exploitability
3.9
Impact
3.6
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High

Threat Intelligence

No active exploitation signals — not in CISA KEV and no EPSS score yet.

Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 1

CWE-190 Integer Overflow or Wraparound Numeric Error

Affected Products 1

VendorProductVersionRange
vaporvapor* <4.60.3

References 3

  • github.com https://github.com/vapor/vapor/commit/953a349b539b3e0d3653585c8ffb50c427986df1
    PatchThird Party Advisory
  • github.com https://github.com/vapor/vapor/releases/tag/4.60.3
    Release NotesThird Party Advisory
  • github.com https://github.com/vapor/vapor/security/advisories/GHSA-vj2m-9f5j-mpr5
    ExploitThird Party Advisory

Remediation

  • github.com https://github.com/vapor/vapor/commit/953a349b539b3e0d3653585c8ffb50c427986df1
    PatchThird Party Advisory