製品・ソフトウェアに関する情報
PHP の phar 拡張機能における整数オーバーフローの脆弱性
Title PHP の phar 拡張機能における整数オーバーフローの脆弱性
Summary

PHP の phar 拡張機能の tar.c の phar_parse_tarfile 関数には、整数オーバーフローの脆弱性が存在します。

Possible impacts 第三者により、ヒープベースのバッファオーバーフローを誘発する巧妙に細工された tar ファイルを介して、サービス運用妨害 (アプリケーションクラッシュ) 状態にされる、または任意のコードを実行される可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date June 6, 2012, midnight
Registration Date July 10, 2012, 12:23 p.m.
Last Update Feb. 6, 2014, 5:35 p.m.
CVSS2.0 : 危険
Score 7.5
Vector AV:N/AC:L/Au:N/C:P/I:P/A:P
Affected System
The PHP Group
PHP 5.3.14 未満
PHP 5.4.4 未満の 5.4.x
アップル
Apple Mac OS X v10.6.8
Apple Mac OS X v10.7 から v10.7.4
Apple Mac OS X v10.8
Apple Mac OS X v10.8.1
Apple Mac OS X Server v10.6.8
Apple Mac OS X Server v10.7 から v10.7.4
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
0 [2012年07月10日]
  掲載
[2012年07月26日]
  ベンダ情報:openSUSE (SUSE-SU-2012:0840) を追加
[2012年10月16日]
  ベンダ情報:アップル (HT5501) を追加
[2014年02月06日]
  影響を受けるシステム:アップル (HT5501) の情報を追加
  ベンダ情報:アップル (APPLE-SA-2012-09-19-2) を追加
Feb. 17, 2018, 10:37 a.m.

NVD Vulnerability Information
CVE-2012-2386
Summary

Integer overflow in the phar_parse_tarfile function in tar.c in the phar extension in PHP before 5.3.14 and 5.4.x before 5.4.4 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted tar file that triggers a heap-based buffer overflow.

Publication Date July 7, 2012, 7:21 p.m.
Registration Date Jan. 28, 2021, 2:58 p.m.
Last Update Nov. 21, 2024, 10:38 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* 5.3.13
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* 5.4.0 5.4.4
Related information, measures and tools
Common Vulnerabilities List