| Summary | An issue was discovered in Oniguruma 6.2.0, as used in Oniguruma-mod in Ruby through 2.4.1 and mbstring in PHP through 7.1.5. A heap out-of-bounds write or read occurs in next_state_val() during regular expression compilation. Octal numbers larger than 0xff are not handled correctly in fetch_token() and fetch_token_in_cc(). A malformed regular expression containing an octal number in the form of '\700' would produce an invalid code point value larger than 0xff in next_state_val(), resulting in an out-of-bounds write memory corruption. |
|---|---|
| Publication Date | May 25, 2017, 12:29 a.m. |
| Registration Date | Jan. 26, 2021, 1:31 p.m. |
| Last Update | Nov. 21, 2024, 12:35 p.m. |
| CVSS3.1 : CRITICAL | |
| スコア | 9.8 |
|---|---|
| Vector | CVSS:3.1/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 | いいえ |
| Configuration1 | or higher | or less | more than | less than | |
| cpe:2.3:a:oniguruma_project:oniguruma:6.2.0:*:*:*:*:*:*:* | |||||
| Configuration2 | or higher | or less | more than | less than | |
| cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 7.1.0 | 7.1.7 | |||
| cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 7.0.0 | 7.0.21 | |||
| cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 5.6.31 | ||||
| Title | Ruby の Oniguruma-mod および PHP の mbstring で使用される Oniguruma における境界外書き込みに関する脆弱性 |
|---|---|
| Summary | Ruby の Oniguruma-mod および PHP の mbstring で使用される Oniguruma には、境界外書き込みに関する脆弱性が存在します。 |
| Possible impacts | 情報を取得される、情報を改ざんされる、およびサービス運用妨害 (DoS) 状態にされる可能性があります。 |
| Solution | ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date | May 18, 2017, midnight |
| Registration Date | June 26, 2017, 10:55 a.m. |
| Last Update | June 26, 2017, 10:55 a.m. |
| The PHP Group |
| PHP 7.1.5 まで |
| Ruby-lang.org |
| Ruby 2.4.1 まで |
| Oniguruma project |
| Oniguruma 6.2.0 |
| No | Changed Details | Date of change |
|---|---|---|
| 0 | [2017年06月26日] 掲載 |
Feb. 17, 2018, 10:37 a.m. |