Improper Input Validation Affecting php package, versions [,5.4.43)


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
2.03% (89th 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-2335133
  • published12 Jan 2022
  • disclosed16 May 2016
  • creditUnknown

Introduced: 16 May 2016

CVE-2015-5589  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade php to version 5.4.43 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. The phar_convert_to_other function in ext/phar/phar_object.c in PHP before 5.4.43, 5.5.x before 5.5.27, and 5.6.x before 5.6.11 does not validate a file pointer before a close operation, which allows remote attackers to cause a denial of service (segmentation fault) or possibly have unspecified other impact via a crafted TAR archive that is mishandled in a Phar::convertToData call.

CVSS Scores

version 3.1