Improper Input Validation Affecting php-recode package, versions <0:5.3.3-22.el6


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
0.56% (78th 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-CENTOS6-PHPRECODE-2071430
  • published26 Jul 2021
  • disclosed2 Feb 2012

Introduced: 2 Feb 2012

CVE-2012-0831  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Centos:6 php-recode to version 0:5.3.3-22.el6 or higher.

NVD Description

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

PHP before 5.3.10 does not properly perform a temporary change to the magic_quotes_gpc directive during the importing of environment variables, which makes it easier for remote attackers to conduct SQL injection attacks via a crafted request, related to main/php_variables.c, sapi/cgi/cgi_main.c, and sapi/fpm/fpm/fpm_main.c.

CVSS Scores

version 3.1