Out-of-Bounds Affecting php package, versions [,5.3.28)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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-UNMANAGED-PHP-2335335
  • published12 Jan 2022
  • disclosed17 Dec 2013
  • creditUnknown

Introduced: 17 Dec 2013

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

How to fix?

Upgrade php to version 5.3.28 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. 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