ID |
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. |
References |
|
Vulnerable Configurations |
-
cpe:2.3:a:oniguruma_project:oniguruma:6.2.0:*:*:*:*:*:*:*
cpe:2.3:a:oniguruma_project:oniguruma:6.2.0:*:*:*:*:*:*:*
-
cpe:2.3:a:php:php:*:*:*:*:*:oniguruma-mod:*:*
cpe:2.3:a:php:php:*:*:*:*:*:oniguruma-mod:*:*
-
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:oniguruma-mod:*:*
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:oniguruma-mod:*:*
|
CVSS |
Base: | 7.5 (as of 02-06-2017 - 14:14) |
Impact: | |
Exploitability: | |
|
CWE |
CWE-787 |
CAPEC |
|
Access |
Vector | Complexity | Authentication |
NETWORK |
LOW |
NONE |
|
Impact |
Confidentiality | Integrity | Availability |
PARTIAL |
PARTIAL |
PARTIAL |
|
cvss-vector
via4
|
AV:N/AC:L/Au:N/C:P/I:P/A:P
|
refmap
via4
|
|
Last major update |
02-06-2017 - 14:14 |
Published |
24-05-2017 - 15:29 |
Last modified |
02-06-2017 - 14:14 |