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


Severity

Recommended
critical

Based on CentOS security rating.

Threat Intelligence

Exploit Maturity
Mature
EPSS
95.28% (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-CENTOS6-PHPEMBEDDED-2091175
  • 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 Centos:6 php-embedded to version 0:5.3.3-27.el6_5 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-embedded package and not the php-embedded package as distributed by Centos. See How to fix? for Centos: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