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


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
0.7% (81st 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-2335513
  • published12 Jan 2022
  • disclosed7 Aug 2016
  • creditUnknown

Introduced: 7 Aug 2016

CVE-2016-5114  (opens in a new tab)
CWE-119  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade php to version 5.5.31 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds sapi/fpm/fpm/fpm_log.c in PHP before 5.5.31, 5.6.x before 5.6.17, and 7.x before 7.0.2 misinterprets the semantics of the snprintf return value, which allows attackers to obtain sensitive information from process memory or cause a denial of service (out-of-bounds read and buffer overflow) via a long string, as demonstrated by a long URI in a configuration with custom REQUEST_URI logging.

References

CVSS Scores

version 3.1