Integer overflow in Vapor
CVE-2024-21631
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 vuln…
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
EPSS: 0.003 (54.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.
Affected products
- Vapor — versions < 4.90.0
Weakness classification (CWE)
References
- https://github.com/vapor/vapor/security/advisories/GHSA-r6r4-5pr8-gjcp (x_refsource_CONFIRM)
- https://github.com/vapor/vapor/commit/6db3d917b5ce5024a84eb265ef65691383305d70 (x_refsource_MISC)
Frequently asked questions
- What is CVE-2024-21631?
- CVE-2024-21631 is a medium-severity vulnerability in Vapor, classified under Improper Input Validation. CVSS score: 6.5/10. Published 2024-01-03.
- How severe is CVE-2024-21631?
- Medium severity. CVSS v3 base score is 6.5 out of 10.