[Secure-testing-team] Bug#863316: libonig: CVE-2017-9228

Salvatore Bonaccorso carnil at debian.org
Thu May 25 11:44:09 UTC 2017


Source: libonig
Version: 5.9.5-3.2
Severity: important
Tags: security patch upstream
Forwarded: https://github.com/kkos/oniguruma/issues/60

Hi,

the following vulnerability was published for libonig.

CVE-2017-9228[0]:
| 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.

If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2017-9228
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-9228
[1] https://github.com/kkos/oniguruma/issues/60
[2] https://github.com/kkos/oniguruma/commit/3b63d12038c8d8fc278e81c942fa9bec7c704c8b

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore



More information about the Secure-testing-team mailing list