Skip to content
OpenAdvisories
Unscored CVE-2010-2950 EUVD-2010-2954GHSA-95f3-2wqm-398g

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 sensi…

Published Sep 28, 2010 · Updated Aug 7, 2024 · Assigned by redhat

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
RHEL 6 php +25 5.3.3-14.el6_3 RHSA-2012:1046
RHEL 5 php53 +20 5.3.3-13.el5_8 RHSA-2012:1047
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed php5 5.6.28-1.1 openSUSE-SU-2024:10344-1
openSUSE Tumbleweed php7 7.0.14-1.4 openSUSE-SU-2024:10290-1
openSUSE Tumbleweed php8 8.0.11-1.1 openSUSE-SU-2024:11169-1

Advisories 5

References