CVE-2013-6420
Severity CVSS v4.0:
Pending analysis
Type:
CWE-119
Buffer Errors
Publication date:
17/12/2013
Last modified:
11/04/2025
Description
The asn1_time_to_time_t function in ext/openssl/openssl.c in PHP before 5.3.28, 5.4.x before 5.4.23, and 5.5.x before 5.5.7 does not properly parse (1) notBefore and (2) notAfter timestamps in X.509 certificates, which allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption) via a crafted certificate that is not properly handled by the openssl_x509_parse function.
Impact
Base Score 2.0
7.50
Severity 2.0
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:php:php:5.4.0:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.4.1:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.4.2:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.4.3:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.4.4:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.4.5:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.4.6:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.4.7:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.4.8:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.4.9:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.4.10:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.4.11:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.4.12:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.4.12:rc1:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.4.12:rc2:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- http://forums.interworx.com/threads/8000-InterWorx-Version-5-0-14-Released-on-Beta-Channel%21
- http://git.php.net/?p=php-src.git%3Ba%3Dcommit%3Bh%3Dc1224573c773b6845e83505f717fbf820fc18415
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00125.html
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00126.html
- http://rhn.redhat.com/errata/RHSA-2013-1813.html
- http://rhn.redhat.com/errata/RHSA-2013-1815.html
- http://rhn.redhat.com/errata/RHSA-2013-1824.html
- http://rhn.redhat.com/errata/RHSA-2013-1825.html
- http://rhn.redhat.com/errata/RHSA-2013-1826.html
- http://secunia.com/advisories/59652
- http://support.apple.com/kb/HT6150
- http://www.debian.org/security/2013/dsa-2816
- http://www.php.net/ChangeLog-5.php
- http://www.securityfocus.com/bid/64225
- http://www.securitytracker.com/id/1029472
- http://www.ubuntu.com/usn/USN-2055-1
- https://bugzilla.redhat.com/show_bug.cgi?id=1036830
- https://h20564.www2.hp.com/hpsc/doc/public/display?docId=emr_na-c04463322
- https://h20564.www2.hp.com/hpsc/doc/public/display?docId=emr_na-c04463322
- https://www.sektioneins.de/advisories/advisory-012013-php-openssl_x509_parse-memory-corruption-vulnerability.html
- http://forums.interworx.com/threads/8000-InterWorx-Version-5-0-14-Released-on-Beta-Channel%21
- http://git.php.net/?p=php-src.git%3Ba%3Dcommit%3Bh%3Dc1224573c773b6845e83505f717fbf820fc18415
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00125.html
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00126.html
- http://rhn.redhat.com/errata/RHSA-2013-1813.html
- http://rhn.redhat.com/errata/RHSA-2013-1815.html
- http://rhn.redhat.com/errata/RHSA-2013-1824.html
- http://rhn.redhat.com/errata/RHSA-2013-1825.html
- http://rhn.redhat.com/errata/RHSA-2013-1826.html
- http://secunia.com/advisories/59652
- http://support.apple.com/kb/HT6150
- http://www.debian.org/security/2013/dsa-2816
- http://www.php.net/ChangeLog-5.php
- http://www.securityfocus.com/bid/64225
- http://www.securitytracker.com/id/1029472
- http://www.ubuntu.com/usn/USN-2055-1
- https://bugzilla.redhat.com/show_bug.cgi?id=1036830
- https://h20564.www2.hp.com/hpsc/doc/public/display?docId=emr_na-c04463322
- https://h20564.www2.hp.com/hpsc/doc/public/display?docId=emr_na-c04463322
- https://www.sektioneins.de/advisories/advisory-012013-php-openssl_x509_parse-memory-corruption-vulnerability.html



