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


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.81% (82nd 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-2335568
  • published12 Jan 2022
  • disclosed28 Sept 2010
  • creditUnknown

Introduced: 28 Sep 2010

CVE-2010-2950  (opens in a new tab)
CWE-134  (opens in a new tab)

How to fix?

Upgrade php to version 5.3.4 or higher.

Overview

Affected versions of this package are vulnerable to Use of Externally-Controlled Format String. Format string vulnerability in stream.c in the phar extension in PHP 5.3.x through 5.3.3 allows context-dependent attackers to obtain sensitive information (memory contents) and possibly execute arbitrary code via a crafted phar:// URI that is not properly handled by the phar_stream_flush function, leading to errors in the php_stream_wrapper_log_error function. NOTE: this vulnerability exists because of an incomplete fix for CVE-2010-2094.

CVSS Scores

version 3.1