Improper Input Validation Affecting php-gd package, versions <0:5.3.3-14.el6_3


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
2.48% (91st 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-PHPGD-2059511
  • published26 Jul 2021
  • disclosed1 Mar 2012

Introduced: 1 Mar 2012

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

How to fix?

Upgrade Centos:6 php-gd to version 0:5.3.3-14.el6_3 or higher.

NVD Description

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

The file-upload implementation in rfc1867.c in PHP before 5.4.0 does not properly handle invalid [ (open square bracket) characters in name values, which makes it easier for remote attackers to cause a denial of service (malformed $_FILES indexes) or conduct directory traversal attacks during multi-file uploads by leveraging a script that lacks its own filename restrictions.

CVSS Scores

version 3.1