CVE-2024-21631

CVSS 3.1 Score 6.5 of 10 (medium)

Details

Published Jan 3, 2024
Updated: Jan 10, 2024
CWE ID 190
CWE ID 20
CWE ID 1104

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.

Ligh bulbPrevent 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.

Share

Prioritize, Pinpoint, and Act to Prevent Vulnerability Exploits with Recorded Future

Note: This is just a basic overview providing quick insights into CVE-2024-21631 information. Gain full access to comprehensive CVE data, third party vulnerabilities, compromised credentials and more 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