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


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
5.65% (94th 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-UNMANAGED-PHP-2335492
  • published12 Jan 2022
  • disclosed12 Sept 2007
  • creditUnknown

Introduced: 12 Sep 2007

CVE-2007-4840  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade php to version 5.2.5 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. PHP 5.2.4 and earlier allows context-dependent attackers to cause a denial of service (application crash) via (1) a long string in the out_charset parameter to the iconv function; or a long string in the charset parameter to the (2) iconv_mime_decode_headers, (3) iconv_mime_decode, or (4) iconv_strlen function. NOTE: this might not be a vulnerability in most web server environments that support multiple threads, unless these issues can be demonstrated for code execution.

CVSS Scores

version 3.1