Skip to navigation

CVE Database

CVE-2013-6420

Impact: Critical
Public: 2013-12-10
CWE: CWE-130->CWE-788
Bugzilla: 1036830: CVE-2013-6420 php: memory corruption in openssl_x509_parse()
IAVA: 2014-A-0030

Details

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 and NIST NVD.

CVSS v2 metrics

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 ES (v. 3 ELS) (php) RHSA-2013:1826 December 12, 2013
Red Hat Enterprise Linux ES (v. 4 ELS) (php) RHSA-2013:1826 December 12, 2013
Red Hat Enterprise Linux EUS (v. 5.6 server) (php) RHSA-2013:1824 December 11, 2013
Red Hat Enterprise Linux EUS (v. 5.6 server) (php53) RHSA-2013:1825 December 11, 2013
Red Hat Enterprise Linux EUS (v. 5.9 server) (php) RHSA-2013:1824 December 11, 2013
Red Hat Enterprise Linux EUS (v. 5.9 server) (php53) RHSA-2013:1825 December 11, 2013
Red Hat Enterprise Linux Long Life (v. 5.3 server) (php) RHSA-2013:1824 December 11, 2013
Red Hat Enterprise Linux Server EUS (v. 6.2) (php) RHSA-2013:1824 December 11, 2013
Red Hat Enterprise Linux Server EUS (v. 6.3) (php) RHSA-2013:1824 December 11, 2013
Red Hat Enterprise Linux Server EUS (v. 6.4) (php) RHSA-2013:1824 December 11, 2013
Red Hat Enterprise Linux version 5 (php) RHSA-2013:1814 December 11, 2013
Red Hat Enterprise Linux version 5 (php53) RHSA-2013:1813 December 11, 2013
Red Hat Enterprise Linux version 6 (php) RHSA-2013:1813 December 11, 2013
Red Hat Software Collections for RHEL 6 Server (php54-php) RHSA-2013:1815 December 11, 2013

External References

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.

This page is generated automatically and has not been checked for errors or omissions.

For clarification or corrections please contact the Red Hat Security Response Team.