Red Hat Customer Portal

Skip to main content

CVE-2013-6420

Impact:
Critical
Public Date:
2013-12-10
CWE:
CWE-130->CWE-119
Bugzilla:
1036830: CVE-2013-6420 php: memory corruption in openssl_x509_parse()

The MITRE CVE dictionary describes this issue as:

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.

Find out more about CVE-2013-6420 from the MITRE CVE dictionary dictionary and NIST NVD.

CVSS v2 metrics

NOTE: The following CVSS v2 metrics and score provided are preliminary and subject to review.

Base Score 7.5
Base Metrics AV:N/AC:L/Au:N/C:P/I:P/A:P
Access Vector Network
Access Complexity Low
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial

Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).

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

Affected Packages State

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

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.

Last Modified