cve/2017/CVE-2017-9227.md

20 lines
923 B
Markdown
Raw Normal View History

2024-05-26 14:27:05 +02:00
### [CVE-2017-9227](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-9227)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### Description
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 read occurs in mbc_enc_len() during regular expression searching. Invalid handling of reg->dmin in forward_search_range() could result in an invalid pointer dereference, as an out-of-bounds read from a stack buffer.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/balabit-deps/balabit-os-7-libonig
- https://github.com/balabit-deps/balabit-os-8-libonig
- https://github.com/onivim/esy-oniguruma