| Summary | An issue was discovered in Django 2.0 before 2.0.3, 1.11 before 1.11.11, and 1.8 before 1.8.19. If django.utils.text.Truncator's chars() and words() methods were passed the html=True argument, they were extremely slow to evaluate certain inputs due to a catastrophic backtracking vulnerability in a regular expression. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template filters, which were thus vulnerable. |
|---|---|
| Publication Date | March 10, 2018, 5:29 a.m. |
| Registration Date | March 1, 2021, 7:38 p.m. |
| Last Update | Nov. 21, 2024, 1:12 p.m. |
| CVSS3.0 : MEDIUM | |
| スコア | 5.3 |
|---|---|
| Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| 攻撃元区分(AV) | ネットワーク |
| 攻撃条件の複雑さ(AC) | 低 |
| 攻撃に必要な特権レベル(PR) | 不要 |
| 利用者の関与(UI) | 不要 |
| 影響の想定範囲(S) | 変更なし |
| 機密性への影響(C) | なし |
| 完全性への影響(I) | なし |
| 可用性への影響(A) | 低 |
| CVSS2.0 : MEDIUM | |
| Score | 5.0 |
|---|---|
| Vector | AV:N/AC:L/Au:N/C:N/I:N/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:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* | |||||
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* | |||||
| cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:* | |||||
| Configuration2 | or higher | or less | more than | less than | |
| cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* | 1.8 | 1.8.19 | |||
| cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* | 1.11 | 1.11.11 | |||
| cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* | 2.0 | 2.0.3 | |||
| Configuration3 | or higher | or less | more than | less than | |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | |||||
| cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* | |||||
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | |||||
| Title | Django における不正な正規表現に関する脆弱性 |
|---|---|
| Summary | Django には、不正な正規表現に関する脆弱性が存在します。 |
| Possible impacts | サービス運用妨害 (DoS) 状態にされる可能性があります。 |
| Solution | ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date | March 6, 2018, midnight |
| Registration Date | April 19, 2018, 5:02 p.m. |
| Last Update | April 19, 2018, 5:02 p.m. |
| Debian |
| Debian GNU/Linux |
| Canonical |
| Ubuntu |
| Django Software Foundation |
| Django 1.11.11 未満の 1.11 |
| Django 1.8.19 未満の 1.8 |
| Django 2.0.3 未満の 2.0 |
| No | Changed Details | Date of change |
|---|---|---|
| 1 | [2018年04月19日] 掲載 |
April 19, 2018, 5:02 p.m. |