| Summary | Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used in PHP before 5.5.37, 5.6.x before 5.6.23, and 7.x before 7.0.8, allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via crafted chunk dimensions in an image. |
|---|---|
| Publication Date | Aug. 7, 2016, 7:59 p.m. |
| Registration Date | Jan. 26, 2021, 2:14 p.m. |
| Last Update | Nov. 21, 2024, 11:54 a.m. |
| CVSS3.0 : HIGH | |
| スコア | 8.8 |
|---|---|
| Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| 攻撃元区分(AV) | ネットワーク |
| 攻撃条件の複雑さ(AC) | 低 |
| 攻撃に必要な特権レベル(PR) | 不要 |
| 利用者の関与(UI) | 要 |
| 影響の想定範囲(S) | 変更なし |
| 機密性への影響(C) | 高 |
| 完全性への影響(I) | 高 |
| 可用性への影響(A) | 高 |
| CVSS2.0 : MEDIUM | |
| Score | 6.8 |
|---|---|
| Vector | AV:N/AC:M/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 | はい |
| Configuration1 | or higher | or less | more than | less than | |
| cpe:2.3:o:redhat:openshift:2.0:*:enterprise:*:*:*:*:* | |||||
| Configuration2 | or higher | or less | more than | less than | |
| cpe:2.3:o:freebsd:freebsd:8.3:*:*:*:*:*:*:* | |||||
| Configuration3 | or higher | or less | more than | less than | |
| cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* | |||||
| Configuration4 | or higher | or less | more than | less than | |
| cpe:2.3:o:freebsd:freebsd:8.0:*:*:*:*:*:*:* | |||||
| Configuration5 | or higher | or less | more than | less than | |
| cpe:2.3:o:redhat:enterprise_linux:5:*:*:*:*:*:*:* | |||||
| Configuration6 | or higher | or less | more than | less than | |
| cpe:2.3:a:libgd:libgd:2.2.2:*:*:*:*:*:*:* | |||||
| execution environment | |||||
| 1 | cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | ||||
| 2 | cpe:2.3:a:php:php:5.6.0:alpha4:*:*:*:*:*:* | ||||
| 3 | cpe:2.3:a:php:php:5.6.0:alpha5:*:*:*:*:*:* | ||||
| 4 | cpe:2.3:a:php:php:5.6.0:beta2:*:*:*:*:*:* | ||||
| 5 | cpe:2.3:a:php:php:5.6.0:beta1:*:*:*:*:*:* | ||||
| 6 | cpe:2.3:a:php:php:5.6.0:alpha3:*:*:*:*:*:* | ||||
| 7 | cpe:2.3:a:php:php:5.6.0:beta3:*:*:*:*:*:* | ||||
| 8 | cpe:2.3:a:php:php:5.6.0:beta4:*:*:*:*:*:* | ||||
| 9 | cpe:2.3:a:php:php:5.6.0:alpha2:*:*:*:*:*:* | ||||
| 10 | cpe:2.3:a:php:php:5.6.0:alpha1:*:*:*:*:*:* | ||||
| 11 | cpe:2.3:a:php:php:5.6.1:*:*:*:*:*:*:* | ||||
| 12 | cpe:2.3:a:php:php:5.6.2:*:*:*:*:*:*:* | ||||
| 13 | cpe:2.3:a:php:php:5.6.3:*:*:*:*:*:*:* | ||||
| 14 | cpe:2.3:a:php:php:5.6.4:*:*:*:*:*:*:* | ||||
| 15 | cpe:2.3:a:php:php:5.6.5:*:*:*:*:*:*:* | ||||
| 16 | cpe:2.3:a:php:php:5.6.6:*:*:*:*:*:*:* | ||||
| 17 | cpe:2.3:a:php:php:5.6.7:*:*:*:*:*:*:* | ||||
| 18 | cpe:2.3:a:php:php:5.6.8:*:*:*:*:*:*:* | ||||
| 19 | cpe:2.3:a:php:php:5.6.9:*:*:*:*:*:*:* | ||||
| 20 | cpe:2.3:a:php:php:5.6.10:*:*:*:*:*:*:* | ||||
| 21 | cpe:2.3:a:php:php:5.6.11:*:*:*:*:*:*:* | ||||
| 22 | cpe:2.3:a:php:php:5.6.12:*:*:*:*:*:*:* | ||||
| 23 | cpe:2.3:a:php:php:5.6.13:*:*:*:*:*:*:* | ||||
| 24 | cpe:2.3:a:php:php:5.6.14:*:*:*:*:*:*:* | ||||
| 25 | cpe:2.3:a:php:php:5.6.15:*:*:*:*:*:*:* | ||||
| 26 | cpe:2.3:a:php:php:5.6.16:*:*:*:*:*:*:* | ||||
| 27 | cpe:2.3:a:php:php:5.6.17:*:*:*:*:*:*:* | ||||
| 28 | cpe:2.3:a:php:php:5.6.18:*:*:*:*:*:*:* | ||||
| 29 | cpe:2.3:a:php:php:5.6.19:*:*:*:*:*:*:* | ||||
| 30 | cpe:2.3:a:php:php:5.6.20:*:*:*:*:*:*:* | ||||
| 31 | cpe:2.3:a:php:php:5.6.21:*:*:*:*:*:*:* | ||||
| 32 | cpe:2.3:a:php:php:5.6.22:*:*:*:*:*:*:* | ||||
| 33 | cpe:2.3:a:php:php:7.0.0:*:*:*:*:*:*:* | ||||
| 34 | cpe:2.3:a:php:php:7.0.1:*:*:*:*:*:*:* | ||||
| 35 | cpe:2.3:a:php:php:7.0.2:*:*:*:*:*:*:* | ||||
| 36 | cpe:2.3:a:php:php:7.0.3:*:*:*:*:*:*:* | ||||
| 37 | cpe:2.3:a:php:php:7.0.4:*:*:*:*:*:*:* | ||||
| 38 | cpe:2.3:a:php:php:7.0.5:*:*:*:*:*:*:* | ||||
| 39 | cpe:2.3:a:php:php:7.0.6:*:*:*:*:*:*:* | ||||
| 40 | cpe:2.3:a:php:php:7.0.7:*:*:*:*:*:*:* | ||||
| Configuration7 | or higher | or less | more than | less than | |
| cpe:2.3:o:freebsd:freebsd:10.0:*:*:*:*:*:*:* | |||||
| Configuration8 | or higher | or less | more than | less than | |
| cpe:2.3:o:fedoraproject:fedora:23:*:*:*:*:*:*:* | |||||
| Configuration9 | or higher | or less | more than | less than | |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | |||||
| Configuration10 | or higher | or less | more than | less than | |
| cpe:2.3:o:freebsd:freebsd:10.1:*:*:*:*:*:*:* | |||||
| Configuration11 | or higher | or less | more than | less than | |
| cpe:2.3:o:fedoraproject:fedora:24:*:*:*:*:*:*:* | |||||
| Configuration12 | or higher | or less | more than | less than | |
| cpe:2.3:o:freebsd:freebsd:8.4:*:*:*:*:*:*:* | |||||
| Configuration13 | or higher | or less | more than | less than | |
| cpe:2.3:o:freebsd:freebsd:9.2:*:*:*:*:*:*:* | |||||
| Configuration14 | or higher | or less | more than | less than | |
| cpe:2.3:o:freebsd:freebsd:8.2:*:*:*:*:*:*:* | |||||
| Configuration15 | or higher | or less | more than | less than | |
| cpe:2.3:o:freebsd:freebsd:8.1:*:*:*:*:*:*:* | |||||
| Configuration16 | or higher | or less | more than | less than | |
| cpe:2.3:o:freebsd:freebsd:9.0:*:*:*:*:*:*:* | |||||
| Configuration17 | or higher | or less | more than | less than | |
| cpe:2.3:o:freebsd:freebsd:10.2:*:*:*:*:*:*:* | |||||
| Configuration18 | or higher | or less | more than | less than | |
| cpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:* | |||||
| Configuration19 | or higher | or less | more than | less than | |
| cpe:2.3:o:freebsd:freebsd:9.3:*:*:*:*:*:*:* | |||||
| Configuration20 | or higher | or less | more than | less than | |
| cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* | |||||
| Configuration21 | or higher | or less | more than | less than | |
| cpe:2.3:o:freebsd:freebsd:10.3:*:*:*:*:*:*:* | |||||
| Configuration22 | or higher | or less | more than | less than | |
| cpe:2.3:o:freebsd:freebsd:9.1:*:*:*:*:*:*:* | |||||
| Title | PHP で使用される GD Graphics Library の gd_gd2.c の _gd2GetHeader 関数における整数オーバーフローの脆弱性 |
|---|---|
| Summary | PHP で使用される GD Graphics Library (別名 libgd) の gd_gd2.c の _gd2GetHeader 関数には、整数オーバーフローの脆弱性が存在します。 補足情報 : CWE による脆弱性タイプは、CWE-190: Integer Overflow or Wraparound (整数オーバーフローまたはラップアラウンド) と識別されています。 http://cwe.mitre.org/data/definitions/190.html |
| Possible impacts | 第三者により、画像の巧妙に細工されたチャンクディメンション (chunk dimension) を介して、サービス運用妨害 (ヒープベースのバッファオーバーフローおよびアプリケーションクラッシュ) 状態にされるなど、不特定の影響を受ける可能性があります。 |
| Solution | ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date | June 23, 2016, midnight |
| Registration Date | Aug. 17, 2016, 3:55 p.m. |
| Last Update | Oct. 28, 2016, 9:58 a.m. |
| レッドハット |
| Red Hat Enterprise Linux |
| Red Hat OpenShift |
| The PHP Group |
| PHP 5.5.37 未満 |
| PHP 5.6.23 未満の 5.6.x |
| PHP 7.0.8 未満の 7.x |
| LibGD project |
| LibGD 2.2.3 未満 |
| Debian |
| Debian GNU/Linux |
| FreeBSD |
| FreeBSD |
| Fedora Project |
| Fedora |
| No | Changed Details | Date of change |
|---|---|---|
| 0 | [2016年08月17日] 掲載 [2016年10月28日] 影響を受けるシステム:ベンダ情報の追加に伴い内容を更新 ベンダ情報:ターボリナックス (TLSA-2016-25) を追加 ベンダ情報:ターボリナックス (TLSA-2016-24) を追加 ベンダ情報:レッドハット (CVE-2016-5766) を追加 ベンダ情報:レッドハット (Bug 1351068) を追加 ベンダ情報:シスコシステムズ (46860 : PHP Security Update for June 23, 2016) を追加 ベンダ情報:Debian (DSA-3619) を追加 ベンダ情報:ヒューレット・パッカード・エンタープライズ (HPSBNS03635) を追加 |
Feb. 17, 2018, 10:37 a.m. |