Skip to content
OpenAdvisories
Unscored CVE-2013-4248 EUVD-2013-4152GHSA-hhfm-3287-cc2v

The openssl_x509_parse function in openssl.c in the OpenSSL module in PHP before 5.4.18 and 5.5.x before 5.5.2 does not properly handle a '…

Published Aug 18, 2013 · Updated Aug 6, 2024 · Assigned by redhat

Description

The openssl_x509_parse function in openssl.c in the OpenSSL module in PHP before 5.4.18 and 5.5.x before 5.5.2 does not properly handle a '\0' character in a domain name in the Subject Alternative Name field of an X.509 certificate, which allows man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority, a related issue to CVE-2009-2408.

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.

ReleasePackageFixed inAdvisory
Debian 7 php5 5.4.4-14+deb7u4 DSA-2742-1
Debian 6.0 php5 5.3.3-7+squeeze17 DSA-2742-1
ReleasePackageFixed inAdvisory
RHEL 6 php +26 5.3.3-26.el6 RHSA-2013:1615
RHEL 5 php53 +20 5.3.3-21.el5 RHSA-2013:1307
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed php5 5.6.28-1.1 openSUSE-SU-2024:10344-1
openSUSE Tumbleweed php7 7.0.14-1.4 openSUSE-SU-2024:10290-1
openSUSE Tumbleweed php8 8.0.11-1.1 openSUSE-SU-2024:11169-1

Advisories 6

References