Improper Input Validation Affecting php package, versions [4.0.0,4.4.8)[5.0.0,5.2.4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.99% (86th 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-2335674
  • published12 Jan 2022
  • disclosed4 Sept 2007
  • creditUnknown

Introduced: 4 Sep 2007

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

How to fix?

Upgrade php to version 4.4.8, 5.2.4 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. The wordwrap function in PHP 4 before 4.4.8, and PHP 5 before 5.2.4, does not properly use the breakcharlen variable, which allows remote attackers to cause a denial of service (divide-by-zero error and application crash, or infinite loop) via certain arguments, as demonstrated by a 'chr(0), 0, ""' argument set.

References

CVSS Base Scores

version 3.1