Out-of-bounds Read Affecting php package, versions [,5.6.32)[7.0.0,7.0.25)[7.1.0,7.1.11)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.63% (80th 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-2335105
  • published12 Jan 2022
  • disclosed7 Nov 2017
  • creditUnknown

Introduced: 7 Nov 2017

CVE-2017-16642  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade php to version 5.6.32, 7.0.25, 7.1.11 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read. In PHP before 5.6.32, 7.x before 7.0.25, and 7.1.x before 7.1.11, an error in the date extension's timelib_meridian handling of 'front of' and 'back of' directives could be used by attackers able to supply date strings to leak information from the interpreter, related to ext/date/lib/parse_date.c out-of-bounds reads affecting the php_parse_date function. NOTE: this is a different issue than CVE-2017-11145.

CVSS Scores

version 3.1