Improper Handling of Length Parameter Inconsistency Affecting php-zts package, versions <0:5.3.3-27.el6_5


Severity

Recommended
critical

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

Exploit Maturity
Mature
EPSS
94.98% (100th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL6-PHPZTS-1474984
  • published26 Jul 2021
  • disclosed10 Dec 2013

Introduced: 10 Dec 2013

CVE-2013-6420  (opens in a new tab)
CWE-130  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade RHEL:6 php-zts to version 0:5.3.3-27.el6_5 or higher.
This issue was patched in RHSA-2013:1813.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-zts package and not the php-zts package as distributed by RHEL. See How to fix? for RHEL:6 relevant fixed versions and status.

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.

CVSS Scores

version 3.1