CVE-2024-21631: Vapor is an HTTP web framework for Swift
CVE-2024-21631 is a medium-severity flaw (CVSS 6.5) affecting vapor. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Vapor is an HTTP web framework for Swift. Prior to version 4.90.0, Vapor's `vapor_urlparser_parse` function uses `uint16_t` indexes when parsing a URI's components, which may cause integer overflows when parsing untrusted inputs. This vulnerability does not affect Vapor directly but could impact applications relying on the URI type for validating user input. The URI type is used in several places in Vapor. A developer may decide to use URI to rep
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-21631?
vapor: upgrade to 4.90.0. Exact commands for each OS are on this page.
Is CVE-2024-21631 being exploited?
CVE-2024-21631 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-21631 affect?
CVE-2024-21631 affects vapor. Severity is medium (CVSS 6.5). Vapor is an HTTP web framework for Swift. Prior to version 4.90.0, Vapor's `vapor_urlparser_parse` function uses `uint16_t` indexes when parsing a URI's components, which may cause integer overflows when parsing untrusted inputs. This vulne
How urgent is CVE-2024-21631?
Priority 35/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2023-44386 MEDIUM 5.3 UPGRADE Vapor is an HTTP web framework for Swift
- CVE-2022-31019 HIGH 7.5 UPGRADE Vapor is a server-side Swift HTTP web framework
- CVE-2022-31005 HIGH 7.5 UPGRADE Vapor is an HTTP web framework for Swift
- CVE-2021-32742 HIGH 7.5 UPGRADE Vapor is a web framework for Swift
- CVE-2021-21328 MEDIUM 5.3 UPGRADE Vapor is a web framework for Swift