VDB

CVE-2017-9228

CVE-2017-9228 PUBLISHED

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 heap out-of-bounds write occurs in bitset_set_range() during regular expression compilation due to an uninitialized variable from an incorrect state transition. An incorrect state transition in parse_char_class() could create an execution path that leaves a critical local variable uninitialized until it's used as an index, resulting in an out-of-bounds write memory corruption.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
php-dbaAmazon Linux5.4.16-46.amzn2.0.3
php-xmlAmazon Linux5.4.16-46.amzn2.0.3
php-commonAmazon Linux5.4.16-46.amzn2.0.3
php-recodeAmazon Linux5.4.16-46.amzn2.0.3
php-gdAmazon Linux5.4.16-46.amzn2.0.3
php-mysqlndAmazon Linux5.4.16-46.amzn2.0.3
php-cliAmazon Linux5.4.16-46.amzn2.0.3
php-pdoAmazon Linux5.4.16-46.amzn2.0.3
php5Alpine5.6.31-r0
php-pspellAmazon Linux5.4.16-46.amzn2.0.3
php-xmlrpcAmazon Linux5.4.16-46.amzn2.0.3
php7Alpine7.1.9-r0, 7.1.7-r0, 7.0.21-r0

12 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
n/an/an/a
amazon:2php-dba0
amazon:2php-xml0
amazon:2php-common0
amazon:2php-recode0
amazon:2php-gd0
amazon:2php-mysqlnd0
amazon:2php-cli0
amazon:2php-pdo0
alpinephp50
amazon:2php-pspell0
amazon:2php-xmlrpc0
alpinephp70, 0, 0
amazon:2oniguruma-devel0
amazon:2php-soap0
amazon:2php-mbstring0
amazon:2php-enchant0
amazon:2php-odbc0
amazon:2php-process0
amazon:2php-ldap0

…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-9228
vulnetix vdb fixes CVE-2017-9228

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-9228/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
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›