Ruby の Oniguruma-mod および PHP の mbstring で使用される Oniguruma における境界外書き込みに関する脆弱性
| Title |
Ruby の Oniguruma-mod および PHP の mbstring で使用される Oniguruma における境界外書き込みに関する脆弱性
|
| Summary |
Ruby の Oniguruma-mod および PHP の mbstring で使用される Oniguruma には、境界外書き込みに関する脆弱性が存在します。
|
| Possible impacts |
情報を取得される、情報を改ざんされる、およびサービス運用妨害 (DoS) 状態にされる可能性があります。 |
| Solution |
ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
May 22, 2017, midnight |
| Registration Date |
June 26, 2017, 10:55 a.m. |
| Last Update |
June 26, 2017, 10:55 a.m. |
|
CVSS3.0 : 緊急
|
| Score |
9.8
|
| Vector |
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
|
CVSS2.0 : 危険
|
| Score |
7.5
|
| Vector |
AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected System
| The PHP Group |
|
PHP 7.1.5 まで
|
| Ruby-lang.org |
|
Ruby 2.4.1 まで
|
| Oniguruma project |
|
Oniguruma 6.2.0
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
| No |
Changed Details |
Date of change |
| 0 |
[2017年06月26日] 掲載 |
Feb. 17, 2018, 10:37 a.m. |
NVD Vulnerability Information
CVE-2017-9225
| 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 stack out-of-bounds write in onigenc_unicode_get_case_fold_codes_by_str() occurs during regular expression compilation. Code point 0xFFFFFFFF is not properly handled in unicode_unfold_key(). A malformed regular expression could result in 4 bytes being written off the end of a stack buffer of expand_case_fold_string() during the call to onigenc_unicode_get_case_fold_codes_by_str(), a typical stack buffer overflow.
|
| 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. |
Affected software configurations
| 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:ruby-lang:ruby:*:*:*:*:*:oniguruma-mod:*:* |
|
2.4.1 |
|
|
| cpe:2.3:a:php:php:*:*:*:*:*:oniguruma-mod:*:* |
|
7.1.5 |
|
|
Related information, measures and tools
Common Vulnerabilities List