Description
The verify_hostname_of_cert function in the certificate checking feature in IO-Socket-SSL (IO::Socket::SSL) 1.14 through 1.25 only matches the prefix of a hostname when no wildcard is used, which allows remote attackers to bypass the hostname check for a certificate.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libio-socket-ssl-perl | 1.30-1 | — |
| Debian 13 | libio-socket-ssl-perl | 1.30-1 | — |
| Debian 12 | libio-socket-ssl-perl | 1.30-1 | — |
References
- http://cpansearch.perl.org/src/SULLR/IO-Socket-SSL-1.30/Changes
- ADV-2011-0118 vdb-entry
- GLSA-201101-06 vendor-advisory
- SUSE-SR:2009:015 vendor-advisory
- 42893 third-party-advisory
- [oss-security] 20090828 CVE request: perl-IO-Socket-SSL certificate hostname compare bug mailing-list
- [oss-security] 20090829 Re: CVE request: perl-IO-Socket-SSL certificate hostname compare bug mailing-list
- [oss-security] 20090831 Re: Re: CVE request: perl-IO-Socket-SSL certificate hostname compare bug mailing-list