CVE-2017-9229
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 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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| php-dba | Amazon Linux | 5.4.16-46.amzn2.0.3 |
| php-mysqlnd | Amazon Linux | 5.4.16-46.amzn2.0.3 |
| php-mbstring | Amazon Linux | 5.4.16-46.amzn2.0.3 |
| php-cli | Amazon Linux | 5.4.16-46.amzn2.0.3 |
| php-xmlrpc | Amazon Linux | 5.4.16-46.amzn2.0.3 |
| php7 | Alpine | 7.1.9-r0, 7.1.7-r0, 7.0.21-r0 |
| oniguruma-devel | Amazon Linux | 5.9.6-1.amzn2.0.7 |
| php-intl | Amazon Linux | 5.4.16-46.amzn2.0.3 |
| php5 | Alpine | 5.6.31-r0 |
| php-xml | Amazon Linux | 5.4.16-46.amzn2.0.3 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2 | php-dba | 0 |
| amazon:2 | php-mysqlnd | 0 |
| amazon:2 | php-mbstring | 0 |
| amazon:2 | php-cli | 0 |
| amazon:2 | php-xmlrpc | 0 |
| alpine | php7 | 0, 0, 0 |
| amazon:2 | oniguruma-devel | 0 |
| amazon:2 | php-intl | 0 |
| alpine | php5 | 0 |
| amazon:2 | php-xml | 0 |
| amazon:2 | php-pdo | 0 |
| amazon:2 | php-embedded | 0 |
| amazon:2 | php-bcmath | 0 |
| amazon:2 | php-pspell | 0 |
| amazon:2 | php-ldap | 0 |
| amazon:2 | php-gd | 0 |
| amazon:2 | php-odbc | 0 |
| amazon:2 | php-common | 0 |
| amazon:2 | php-enchant | 0 |
…and 10 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 (7 in total, the first dated here)
- Mar 6, 2026 Security Advisory (6 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-9229
vulnetix vdb fixes CVE-2017-9229
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-9229/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