Improper Input Validation Affecting rh-php56-php-mbstring package, versions *


Severity

Recommended
0.0
low
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.19% (57th 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-RHEL7-RHPHP56PHPMBSTRING-4511834
  • published26 Jul 2021
  • disclosed10 Jan 2016

Introduced: 10 Jan 2016

CVE-2016-10712  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:7 rh-php56-php-mbstring.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rh-php56-php-mbstring package and not the rh-php56-php-mbstring package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

In PHP before 5.5.32, 5.6.x before 5.6.18, and 7.x before 7.0.3, all of the return values of stream_get_meta_data can be controlled if the input can be controlled (e.g., during file uploads). For example, a "$uri = stream_get_meta_data(fopen($file, "r"))['uri']" call mishandles the case where $file is data:text/plain;uri=eviluri, -- in other words, metadata can be set by an attacker.