PT-2012-1222 · Php+3 · Php+3

Jan Lieskovsky

·

Published

2012-06-27

·

Updated

2023-02-13

·

CVE-2012-2386

CVSS v2.0

7.5

High

VectorAV:N/AC:L/Au:N/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions PHP versions prior to 5.3.14 PHP versions 5.4.x prior to 5.4.4
Description The issue is related to errors in number processing in the PHP language interpreter extension. It may allow a remote attacker to execute arbitrary code or cause a denial of service using a specially crafted tar archive. The problem is caused by an integer overflow in the phar parse tarfile function, which can trigger a heap-based buffer overflow.
Recommendations For PHP versions prior to 5.3.14, update to version 5.3.14 or later. For PHP versions 5.4.x prior to 5.4.4, update to version 5.4.4 or later. As a temporary workaround, consider restricting the use of the phar parse tarfile function in the phar extension until a patch is available. Avoid using specially crafted tar files that could trigger the integer overflow in the phar parse tarfile function.

Exploit

Fix

DoS

Weakness Enumeration

Related Identifiers

BDU:2022-02621
CESA-2012_1046
CVE-2012-2386
DSA-2492-1
RHSA-2012:1046
RHSA-2012:1047
RHSA-2012_1046
RHSA-2012_1047

Affected Products

Centos
Php
Red Hat
Suse