Use of Externally-Controlled Format String Affecting php-gd package, versions <0:5.3.3-14.el6_3


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
1.04% (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-CENTOS6-PHPGD-2059933
  • published26 Jul 2021
  • disclosed14 May 2010

Introduced: 14 May 2010

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

How to fix?

Upgrade Centos:6 php-gd to version 0:5.3.3-14.el6_3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-gd package and not the php-gd package as distributed by Centos. See How to fix? for Centos:6 relevant fixed versions and status.

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