CVE-2022-31005
Integer Overflow in Vapor's HTTP Range Request
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 2.108% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:28:52.703Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 7.5 · published by GitHub_MCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Assessment source · checked 2026-11-19T13:01:34.595Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:28:52.703Z | CISA KEV |
| cvss | verified | 2026-11-19T13:01:34.595Z | CVE Program |
| epss | verified | 2026-11-19T16:04:33.773Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:59:43.997Z | OSV |
| affected | verified | 2026-11-19T13:01:34.595Z | CVE Program |
| lifecycle | verified | 2026-11-19T13:01:34.595Z | CVE Program |
Affected versions and configuration
vapor vapor; default status: unknown: < 4.60.3 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "vapor",
"product": "vapor",
"versions": [
{
"status": "affected",
"version": "< 4.60.3"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://github.com/vapor/vapor/security/advisories/GHSA-vj2m-9f5j-mpr5",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "https://github.com/vapor/vapor/commit/953a349b539b3e0d3653585c8ffb50c427986df1",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://github.com/vapor/vapor/releases/tag/4.60.3",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-03T07:03:40.287Z"
}
},
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2022-31005",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-04-22T15:41:04.527923Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-04-22T17:55:35.387Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-vj2m-9f5j-mpr5",
"aliases": [
"CVE-2022-31005"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.60.3"
}
]
}
],
"package": {
"name": "github.com/vapor/vapor",
"purl": "pkg:swift/github.com/vapor/vapor",
"ecosystem": "SwiftURL"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/06/GHSA-vj2m-9f5j-mpr5/GHSA-vj2m-9f5j-mpr5.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/vapor/vapor/security/advisories/GHSA-vj2m-9f5j-mpr5",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-31005",
"type": "ADVISORY"
},
{
"url": "https://github.com/vapor/vapor/commit/953a349b539b3e0d3653585c8ffb50c427986df1",
"type": "WEB"
},
{
"url": "https://github.com/vapor/vapor",
"type": "PACKAGE"
},
{
"url": "https://github.com/vapor/vapor/releases/tag/4.60.3",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-190"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2022-05-31T20:15:00Z",
"github_reviewed_at": "2023-06-07T16:26:25Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | SwiftURL / package | github.com/vapor/vapor | Not a distribution channel | 4.60.3 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T13:01:34.595ZArchived source JSON
Source publication: 2022-05-31T19:35:11.000Z
Source modification: 2025-04-22T17:55:35.387ZDocument fingerprint
583b03164271c9df7ed05a20a39211873deb37f1736b7df9f0f4bfaa348cdf6d - CISA KEVConsulted: 2026-11-19T17:28:52.703ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - OSVConsulted: 2026-11-19T12:59:43.997ZArchived source JSON
Source publication: 2023-06-07T16:26:25.000Z
Source modification: 2023-11-08T04:09:22.231ZDocument fingerprint
c0f05e3d3c9e87345a9d225bd6180420dd43f32f8abcddafd01864ddbad15b44 - FIRST EPSSConsulted: 2026-11-19T16:04:33.773ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
61a73aadbfc560e47e1294f3a67a7c0f50173e56af53ae885ac6a32a73b8f00f
Official status history
- UNKNOWN → PUBLISHED · · evidence