Advisory

UBUNTU-CVE-2017-9228

Also known as: CVE-2017-9228

Summary

The record has no summary.

Details

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.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2017-05-24 00:00 UTC
Modified
2026-04-22 11:37 UTC

Affected packages and fixes

libonig

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0, fixed 5.9.1-1ubuntu1.1 (ecosystem)

Fixed versions

5.9.1-1ubuntu1.1

Fix

  • Fixed version 5.9.1-1ubuntu1.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

php5

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0, fixed 5.5.9+dfsg-1ubuntu4.22 (ecosystem)

Fixed versions

5.5.9+dfsg-1ubuntu4.22

Fix

  • Fixed version 5.5.9+dfsg-1ubuntu4.22
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libonig

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 5.9.6-1ubuntu0.1 (ecosystem)

Fixed versions

5.9.6-1ubuntu0.1

Fix

  • Fixed version 5.9.6-1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

php7.0

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 7.0.22-0ubuntu0.16.04.1 (ecosystem)

Fixed versions

7.0.22-0ubuntu0.16.04.1

Fix

  • Fixed version 7.0.22-0ubuntu0.16.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences