Integer Overflow or Wraparound Affecting php56-embedded package, versions <0:5.6.22-1.125.amzn1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.95% (76th 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 Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN201803-PHP56EMBEDDED-1697845
  • published27 Sept 2021
  • disclosed7 Aug 2016

Introduced: 7 Aug 2016

CVE-2016-5095  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 php56-embedded to version 0:5.6.22-1.125.amzn1 or higher.
This issue was patched in ALAS-2016-706.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php56-embedded package and not the php56-embedded package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

Integer overflow in the php_escape_html_entities_ex function in ext/standard/html.c in PHP before 5.5.36 and 5.6.x before 5.6.22 allows remote attackers to cause a denial of service or possibly have unspecified other impact by triggering a large output string from a FILTER_SANITIZE_FULL_SPECIAL_CHARS filter_var call. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-5094.

CVSS Base Scores

version 3.1