Advisory

UBUNTU-CVE-2017-9229

Also known as: CVE-2017-9229

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 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.

Severity

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

Dates

Published
2017-05-24 00:00 UTC
Modified
2026-04-22 11:36 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