Advisory

DEBIAN-CVE-2017-9225

Also known as: CVE-2017-9225

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 stack out-of-bounds write in onigenc_unicode_get_case_fold_codes_by_str() occurs during regular expression compilation. Code point 0xFFFFFFFF is not properly handled in unicode_unfold_key(). A malformed regular expression could result in 4 bytes being written off the end of a stack buffer of expand_case_fold_string() during the call to onigenc_unicode_get_case_fold_codes_by_str(), a typical stack buffer overflow.

Severity

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

Dates

Published
2017-05-24 15:29 UTC
Modified
2026-09-01 20:03 UTC

Affected packages and fixes

libonig

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 6.1.3-2 (ecosystem)

Fixed versions

6.1.3-2

Fix

  • Fixed version 6.1.3-2
    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) · Debian 13

Affected

  • introduced 0, fixed 6.1.3-2 (ecosystem)

Fixed versions

6.1.3-2

Fix

  • Fixed version 6.1.3-2
    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) · Debian 14

Affected

  • introduced 0, fixed 6.1.3-2 (ecosystem)

Fixed versions

6.1.3-2

Fix

  • Fixed version 6.1.3-2
    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: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences