You are here

CVE-2013-6420

Vincent (CVE) Danen's picture
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.

Details Source

Mitre

Public Date

2013-12-10 00:00:00

Impact

Critical

Bugzilla

CVE-2013-6420 php: memory corruption in openssl_x509_parse()

Bugzilla ID

1 036 830

CVSS Status

verified

Base Score

7.50

Base Metrics

AV:N/AC:L/Au:N/C:P/I:P/A:P

Acknowledgements

Red Hat would like to thank the PHP project for reporting this issue. Upstream acknowledges Stefan Esser as the original reporter of this issue.

Red Hat Security Errata

Platform Errata Release Date
Red Hat Enterprise Linux EUS (v. 5.6 server) (php53) RHSA-2013:1825 2013-12-11
Red Hat Enterprise Linux EUS (v. 5.6 server) (php) RHSA-2013:1824 2013-12-11
Red Hat Enterprise Linux Extended Lifecycle Support 3 (php) RHSA-2013:1826 2013-12-12
Red Hat Enterprise Linux 5 (php) RHSA-2013:1814 2013-12-11
Red Hat Enterprise Linux Long Life (v. 5.3 server) (php) RHSA-2013:1824 2013-12-11
Red Hat Enterprise Linux 5 (php53) RHSA-2013:1813 2013-12-11
Red Hat Enterprise Linux 6 (php) RHSA-2013:1813 2013-12-11
Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 6) (php54-php) RHSA-2013:1815 2013-12-11
Red Hat Enterprise Linux Extended Lifecycle Support 4 (php) RHSA-2013:1826 2013-12-12
Red Hat Enterprise Linux Extended Update Support 6.2 (php) RHSA-2013:1824 2013-12-11
Red Hat Enterprise Linux Extended Update Support 6.4 (php) RHSA-2013:1824 2013-12-11
Red Hat Enterprise Linux Extended Update Support 6.3 (php) RHSA-2013:1824 2013-12-11
Red Hat Enterprise Linux EUS (v. 5.9 server) (php) RHSA-2013:1824 2013-12-11
Red Hat Enterprise Linux EUS (v. 5.9 server) (php53) RHSA-2013:1825 2013-12-11

CWE

CWE-130->CWE-119

Affected Packages State

Platform Package State
Red Hat OpenShift Enterprise 2 php Affected
Red Hat OpenShift Enterprise 1 php Affected
Red Hat Enterprise Linux 7 php Not affected