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


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
0.63% (80th 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 Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS6-PHPIMAP-2071321
  • 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-imap to version 0:5.3.3-22.el6 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-imap package and not the php-imap 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