Use of Externally-Controlled Format String Affecting php package, versions [,5.2.11)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
1.13% (85th 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 Use of Externally-Controlled Format String vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-PHP-2335445
  • published12 Jan 2022
  • disclosed22 Sept 2009
  • creditUnknown

Introduced: 22 Sep 2009

CVE-2009-3294  (opens in a new tab)
CWE-134  (opens in a new tab)

How to fix?

Upgrade php to version 5.2.11 or higher.

Overview

Affected versions of this package are vulnerable to Use of Externally-Controlled Format String. The popen API function in TSRM/tsrm_win32.c in PHP before 5.2.11 and 5.3.x before 5.3.1, when running on certain Windows operating systems, allows context-dependent attackers to cause a denial of service (crash) via a crafted (1) "e" or (2) "er" string in the second argument (aka mode), possibly related to the _fdopen function in the Microsoft C runtime library. NOTE: this might not cross privilege boundaries except in rare cases in which the mode argument is accessible to an attacker outside of an application that uses the popen function.

References

CVSS Scores

version 3.1