IO::Socket::SSL::PublicSuffix Perl module versions up to 2.099 allows code injection via a manipulated list line that ends the built-in data heredoc during source rewriting. Attackers controlling the fetched list can execute arbitrary Perl in processes loading IO::Socket::SSL until the module is reinstalled. This vulnerability has a significant impact on Perl developers and administrators using IO::Socket::SSL::PublicSuffix, as it can lead to arbitrary code execution. The vulnerability is caused by the module's inability to properly validate fetched list lines, allowing an attacker to inject malicious code. The CVE record and GitHub advisory provide details on the code injection.
The IO::Socket::SSL::PublicSuffix module for Perl, up to version 2.099, has a vulnerability allowing an on-path attacker to manipulate the installed public suffix list. This occurs because the update_self_from_url function fetches the list over cleartext HTTP without integrity checks. Consequently, an attacker can influence the suffix boundary reported by the module, which persists until the module is reinstalled. This vulnerability can cause the hostname check in IO::Socket::SSL to accept a wildcard certificate that spans the entire public suffix. Defenders should prioritize verifying the exposure of Perl systems using IO::Socket::SSL::PublicSuffix versions up to 2.099 and assess