CVE-2017-9224
Reported by mitre · Published May 24, 2017
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 match_at() during regular expression searching. A logical error involving order of validation and access in match_at() could result in an out-of-bounds read from a stack buffer.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| rubygems-devel | Amazon Linux | 2.0.14.1-36.amzn2.0.5 |
| rubygem-io-console | Amazon Linux | 0.4.2-36.amzn2.0.5 |
| oniguruma | Amazon Linux | 5.9.6-1.amzn2.0.5 |
| rubygem-psych | Amazon Linux | 2.0.0-36.amzn2.0.5 |
| ruby-devel | Amazon Linux | 2.0.0.648-36.amzn2.0.5 |
| ruby-doc | Amazon Linux | 2.0.0.648-36.amzn2.0.5 |
| ruby-libs | Amazon Linux | 2.0.0.648-36.amzn2.0.5 |
| rubygem-minitest | Amazon Linux | 4.3.2-36.amzn2.0.5 |
| oniguruma-devel | Amazon Linux | 5.9.6-1.amzn2.0.5 |
| rubygem-rake | Amazon Linux | 0.9.6-36.amzn2.0.5 |
| ruby-tcltk | Amazon Linux | 2.0.0.648-36.amzn2.0.5 |
| php5 | Ubuntu:14.04:LTS | 5.5.9+dfsg-1ubuntu4.22 |
1 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2 | rubygems-devel | 0 |
| amazon:2 | rubygem-io-console | 0 |
| amazon:2 | oniguruma | 0 |
| amazon:2 | rubygem-psych | 0 |
| amazon:2 | ruby-devel | 0 |
| amazon:2 | ruby-doc | 0 |
| amazon:2 | ruby-libs | 0 |
| amazon:2 | rubygem-minitest | 0 |
| amazon:2 | oniguruma-devel | 0 |
| amazon:2 | rubygem-rake | 0 |
| amazon:2 | ruby-tcltk | 0 |
| n/a | n/a | * |
| alpine | php7 | 0, 0, 0 |
| amazon:2 | rubygem-bigdecimal | 0 |
| amazon:2 | ruby-irb | 0 |
| amazon:2 | ruby | 0 |
| amazon:2 | rubygem-json | 0 |
| amazon:2 | rubygems | 0 |
| alpine | php5 | 0 |
…and 1 more
Timeline
- May 24, 2017 CVE Published
- Oct 14, 2019 PoC Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 6, 2026 Distribution Patch (5 in total, the first dated here)
- Mar 6, 2026 Security Advisory (4 in total, the first dated here)
- Sep 27, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-9224
vulnetix vdb fixes CVE-2017-9224
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-9224/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- RHSA-2018:1296 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- 101244 vdb-entryx_refsource_BID