製品・ソフトウェアに関する情報
PHP および GD Graphics Library の _gdGetColors 関数におけるバッファオーバーフローの脆弱性
Title PHP および GD Graphics Library の _gdGetColors 関数におけるバッファオーバーフローの脆弱性
Summary

PHP および GD Graphics Library の _gdGetColors 関数には、colorsTotal の構成要素の検証に不備があるため、バッファオーバーフローの脆弱性が存在します。 本脆弱性は CVE-2009-3293 とは異なる脆弱性です。

Possible impacts 巧妙に細工された GD ファイルにより、第三者にバッファオーバーフロー、またはバッファオーバーリード攻撃をされる可能性があります。
Solution

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

Publication Date Oct. 19, 2009, midnight
Registration Date Feb. 3, 2010, 2:34 p.m.
Last Update Feb. 3, 2010, 2:34 p.m.
CVSS2.0 : 危険
Score 7.5
Vector AV:N/AC:L/Au:N/C:P/I:P/A:P
Affected System
レッドハット
Red Hat Enterprise Linux 3 (as)
Red Hat Enterprise Linux 3 (es)
Red Hat Enterprise Linux 3 (ws)
Red Hat Enterprise Linux 4 (as)
Red Hat Enterprise Linux 4 (es)
Red Hat Enterprise Linux 4 (ws)
Red Hat Enterprise Linux 4.8 (as)
Red Hat Enterprise Linux 4.8 (es)
Red Hat Enterprise Linux 5 (server)
Red Hat Enterprise Linux Desktop 3.0
Red Hat Enterprise Linux Desktop 4.0
Red Hat Enterprise Linux Desktop 5.0 (client)
Red Hat Enterprise Linux EUS 5.4.z (server)
RHEL Desktop Workstation 5 (client)
The PHP Group
PHP 5.2.11
PHP 5.3.1 未満
サイバートラスト株式会社
Asianux Server 3 (x86)
Asianux Server 3 (x86-64)
Asianux Server 4.0
Asianux Server 4.0 (x86-64)
LibGD project
LibGD 2.x
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
0 [2010年02月03日]
  掲載
Feb. 17, 2018, 10:37 a.m.

NVD Vulnerability Information
CVE-2009-3546
Summary

The _gdGetColors function in gd_gd.c in PHP 5.2.11 and 5.3.x before 5.3.1, and the GD Graphics Library 2.x, does not properly verify a certain colorsTotal structure member, which might allow remote attackers to conduct buffer overflow or buffer over-read attacks via a crafted GD file, a different vulnerability than CVE-2009-3293. NOTE: some of these details are obtained from third party information.

Publication Date Oct. 20, 2009, 5 a.m.
Registration Date Jan. 29, 2021, 1:24 p.m.
Last Update Feb. 13, 2023, 11:20 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:libgd:gd_graphics_library:2.0.34:rc2:*:*:*:*:*:*
cpe:2.3:a:libgd:gd_graphics_library:2.0.33:*:*:*:*:*:*:*
cpe:2.3:a:libgd:gd_graphics_library:2.0.34:rc1:*:*:*:*:*:*
cpe:2.3:a:libgd:gd_graphics_library:2.0.35:rc3:*:*:*:*:*:*
cpe:2.3:a:libgd:gd_graphics_library:2.0.35:rc2:*:*:*:*:*:*
cpe:2.3:a:libgd:gd_graphics_library:2.0.35:rc1:*:*:*:*:*:*
cpe:2.3:a:libgd:gd_graphics_library:2.0.35:*:*:*:*:*:*:*
cpe:2.3:a:libgd:gd_graphics_library:2.0.36:rc1:*:*:*:*:*:*
cpe:2.3:a:libgd:gd_graphics_library:2.0.34:*:*:*:*:*:*:*
cpe:2.3:a:libgd:gd_graphics_library:2.0.35:rc5:*:*:*:*:*:*
cpe:2.3:a:libgd:gd_graphics_library:2.0.35:rc4:*:*:*:*:*:*
Configuration2 or higher or less more than less than
cpe:2.3:a:php:php:5.2.11:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.3.0:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List