Improper Input Validation Affecting php package, versions [,5.4.32)[5.5.0, 5.5.16)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.54% (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 Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-PHP-2335086
  • published12 Jan 2022
  • disclosed23 Aug 2014
  • creditUnknown

Introduced: 23 Aug 2014

CVE-2014-5120  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade php to version 5.4.32, 5.5.16 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation gd_ctx.c in the GD component in PHP 5.4.x before 5.4.32 and 5.5.x before 5.5.16 does not ensure that pathnames lack %00 sequences, which might allow remote attackers to overwrite arbitrary files via crafted input to an application that calls the (1) imagegd, (2) imagegd2, (3) imagegif, (4) imagejpeg, (5) imagepng, (6) imagewbmp, or (7) imagewebp function.

References

CVSS Scores

version 3.1