CVE-2024-21631
CVSS 3.1 Score 6.5 of 10 (medium)
Details
Summary
CVE-2024-21631 is a vulnerability affecting the Vapor HTTP web framework for Swift, specifically versions prior to 4.90.0. The issue lies in the `vapor_urlparser_parse` function's use of `uint16_t` indexes for URI component parsing. Maliciously crafted untrusted inputs can cause integer overflows, potentially allowing attackers to spoof URL hostnames and redirect users to untrusted destinations. Applications that use the URI type to represent URLs and pass them to the HTTP Client are particularly vulnerable. A patch in version 4.90.0 addresses this issue, and developers can employ user input validation or Foundation's `URL` and `URLComponents` utilities as workarounds.
Prevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.
Advisories, Assessments, and Mitigations
Prioritize, Pinpoint, and Act to Prevent Vulnerability Exploits with Recorded Future
- Gain complete coverage of your cyber, third party, and physical attack surface
- Proactively mitigate threats before they turn into costly attacks
- Make fast, effective, data-driven decisions