製品・ソフトウェアに関する情報
Ruby の Oniguruma-mod および PHP の mbstring で使用される Oniguruma における NULL ポインタデリファレンスに関する脆弱性
Title Ruby の Oniguruma-mod および PHP の mbstring で使用される Oniguruma における NULL ポインタデリファレンスに関する脆弱性
Summary

Ruby の Oniguruma-mod および PHP の mbstring で使用される Oniguruma には、NULL ポインタデリファレンスに関する脆弱性が存在します。

Possible impacts サービス運用妨害 (DoS) 状態にされる可能性があります。
Solution

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

Publication Date May 24, 2017, midnight
Registration Date June 26, 2017, 10:55 a.m.
Last Update June 26, 2017, 10:55 a.m.
CVSS3.0 : 重要
Score 7.5
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS2.0 : 警告
Score 5
Vector AV:N/AC:L/Au:N/C:N/I:N/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-9229
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 SIGSEGV occurs in left_adjust_char_head() during regular expression compilation. Invalid handling of reg->dmax in forward_search_range() could result in an invalid pointer dereference, normally as an immediate denial-of-service condition.

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
Configuration3 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.0 5.6.31
Related information, measures and tools
Common Vulnerabilities List