Improper Handling of Syntactically Invalid Structure Affecting php-tidy package, versions <0:5.3.3-3.el6_2.6


Severity

Recommended
critical

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
88.76% (99th 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-RHEL6-PHPTIDY-1438234
  • published26 Jul 2021
  • disclosed2 Feb 2012

Introduced: 2 Feb 2012

CVE-2012-0830  (opens in a new tab)
CWE-228  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade RHEL:6 php-tidy to version 0:5.3.3-3.el6_2.6 or higher.
This issue was patched in RHSA-2012:0093.

NVD Description

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

The php_register_variable_ex function in php_variables.c in PHP 5.3.9 allows remote attackers to execute arbitrary code via a request containing a large number of variables, related to improper handling of array variables. NOTE: this vulnerability exists because of an incorrect fix for CVE-2011-4885.

CVSS Scores

version 3.1