NVD Vulnerability Detail
Search Exploit, PoC
CVE-2016-8670
Summary

Integer signedness error in the dynamicGetbuf function in gd_io_dp.c in the GD Graphics Library (aka libgd) through 2.2.3, as used in PHP before 5.6.28 and 7.x before 7.0.13, allows remote attackers to cause a denial of service (stack-based buffer overflow) or possibly have unspecified other impact via a crafted imagecreatefromstring call.

Publication Date Jan. 5, 2017, 5:59 a.m.
Registration Date Jan. 26, 2021, 2:19 p.m.
Last Update Nov. 21, 2024, 11:59 a.m.
CVSS3.0 : CRITICAL
スコア 9.8
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
CVSS2.0 : HIGH
Score 7.5
Vector AV:N/AC:L/Au:N/C:P/I:P/A:P
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃前の認証要否(Au) 不要
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
Get all privileges. いいえ
Get user privileges いいえ
Get other privileges いいえ
User operation required いいえ
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:libgd:libgd:*:*:*:*:*:*:*:* 2.2.3
execution environment
1 cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
2 cpe:2.3:a:php:php:7.0.0:*:*:*:*:*:*:*
3 cpe:2.3:a:php:php:7.0.1:*:*:*:*:*:*:*
4 cpe:2.3:a:php:php:7.0.2:*:*:*:*:*:*:*
5 cpe:2.3:a:php:php:7.0.3:*:*:*:*:*:*:*
6 cpe:2.3:a:php:php:7.0.4:*:*:*:*:*:*:*
7 cpe:2.3:a:php:php:7.0.5:*:*:*:*:*:*:*
8 cpe:2.3:a:php:php:7.0.6:*:*:*:*:*:*:*
9 cpe:2.3:a:php:php:7.0.7:*:*:*:*:*:*:*
10 cpe:2.3:a:php:php:7.0.8:*:*:*:*:*:*:*
11 cpe:2.3:a:php:php:7.0.9:*:*:*:*:*:*:*
12 cpe:2.3:a:php:php:7.0.10:*:*:*:*:*:*:*
13 cpe:2.3:a:php:php:7.0.11:*:*:*:*:*:*:*
14 cpe:2.3:a:php:php:7.0.12:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
PHP で使用される GD Graphics Library の gd_io_dp.c の dynamicGetbuf 関数における整数符号エラーの脆弱性
Title PHP で使用される GD Graphics Library の gd_io_dp.c の dynamicGetbuf 関数における整数符号エラーの脆弱性
Summary

PHP で使用される GD Graphics Library (別名 libgd) の gd_io_dp.c の dynamicGetbuf 関数には、整数符号エラーの脆弱性が存在します。

Possible impacts リモートの攻撃者により、巧妙に細工された imagecreatefromstring コールを介して、サービス運用妨害 (スタックベースのバッファオーバーフロー) 状態にされるなど、不特定の影響を受ける可能性があります。
Solution

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

Publication Date Oct. 12, 2016, midnight
Registration Date Jan. 16, 2017, 5:03 p.m.
Last Update Jan. 16, 2017, 5:03 p.m.
Affected System
LibGD project
LibGD 2.2.3 まで
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2017年01月16日]
  掲載
Feb. 17, 2018, 10:37 a.m.