+**Vulnerability:** A Denial of Service (DoS) vulnerability existed due to an unhandled `TypeError`. If an `IPv6Address` object was provided or mutated such that its `scope_id` was an integer (e.g., `ip._scope_id = 123`), the `SCOPE_ID_REGEX.fullmatch()` call would raise a `TypeError`, crashing the worker thread. Furthermore, the fallback `repr(ip)` call in the exception block would *also* crash with a `TypeError` internally within the `ipaddress` module (`TypeError: can only concatenate str (not "int") to str`), making it impossible to even log the error securely.
0 commit comments