{"vulnerability": "cve-2024-21631", "sightings": [{"uuid": "299f93a9-b760-4f23-9101-e8dacf06ee05", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "2a075640-a300-48a4-bb44-bc6130783b9b", "vulnerability": "CVE-2024-21631", "type": "seen", "source": "https://t.me/ctinow/162526", "content": "https://ift.tt/XYqSOjx\nCVE-2024-21631", "creation_timestamp": "2024-01-03T18:31:56.000000Z"}, {"uuid": "96c8c00e-2f4e-4102-b909-540c833bbbe7", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "2a075640-a300-48a4-bb44-bc6130783b9b", "vulnerability": "CVE-2024-21631", "type": "seen", "source": "https://t.me/cibsecurity/74337", "content": "\u203c\ufe0fCVE-2024-21631\u203c\ufe0f\n\nVapor is an HTTP web framework for Swift. Prior to version 4.90.0, Vapor's vaporurlparserparse function uses uint16t 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 represent a URL in their application especially if that URL is then passed to the HTTP Client and rely on its public properties and methods. However, URI may fail to properly parse a valid albeit abnormally long URL, due to string ranges being converted to 16bit integers. An attacker may use this behavior to trick the application into accepting a URL to an untrusted destination. By padding the port number with zeros, an attacker can cause an integer overflow to occur when the URL authority is parsed and, as a result, spoof the host. Version 4.90.0 contains a patch for this issue. As a workaround, validate user input before parsing as a URI or, if possible, use Foundation's URL and URLComponents utilities. \n\n\ud83d\udcd6 Read more\n\nVia \"National Vulnerability Database\"", "creation_timestamp": "2024-01-04T01:37:18.000000Z"}]}