Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

ALAS2-2023-2311

Active Important

ALAS2-2023-2311 (important): oniguruma

Published
19 Oct 2023
Updated
19 Oct 2023

Related CVEs

CVE identifiers linked by this publisher.

4
Publisher relationship details 4 records
Explicit publisher CVE relationships
CVE
CVE-2017-9226
CVE-2017-9227
CVE-2017-9228
CVE-2017-9229

Description

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 or read occurs in next_state_val() during regular expression compilation. Octal numbers larger than 0xff are not handled correctly in fetch_token() and fetch_token_in_cc(). A malformed regular expression

Read full publisher description 1846 characters

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 or read occurs in next_state_val() during regular expression compilation. Octal numbers larger than 0xff are not handled correctly in fetch_token() and fetch_token_in_cc(). A malformed regular expression containing an octal number in the form of '\700' would produce an invalid code point value larger than 0xff in next_state_val(), resulting in an out-of-bounds write memory corruption. (CVE-2017-9226) 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 read occurs in mbc_enc_len() during regular expression searching. Invalid handling of reg->dmin in forward_search_range() could result in an invalid pointer dereference, as an out-of-bounds read from a stack buffer. (CVE-2017-9227) 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. (CVE-2017-9228) 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. (CVE-2017-9229)

Solution

Run yum update oniguruma or yum update --advisory ALAS2-2023-2311 to update your system.

Affected packages

Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.

4

Shared package data

Applies to all 4 occurrences
  1. 1oniguruma

    Occurrence-specific details
    Architecture
    aarch64

    Replacement RPMs

    • oniguruma-5.9.6-1.amzn2.0.7.aarch64
    • oniguruma-devel-5.9.6-1.amzn2.0.7.aarch64
    • oniguruma-debuginfo-5.9.6-1.amzn2.0.7.aarch64
  2. 2oniguruma

    Occurrence-specific details
    Architecture
    i686

    Replacement RPMs

    • oniguruma-5.9.6-1.amzn2.0.7.i686
    • oniguruma-devel-5.9.6-1.amzn2.0.7.i686
    • oniguruma-debuginfo-5.9.6-1.amzn2.0.7.i686
  3. 3oniguruma

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

    • oniguruma-5.9.6-1.amzn2.0.7.src
  4. 4oniguruma

    Occurrence-specific details
    Architecture
    x86_64

    Replacement RPMs

    • oniguruma-5.9.6-1.amzn2.0.7.x86_64
    • oniguruma-devel-5.9.6-1.amzn2.0.7.x86_64
    • oniguruma-debuginfo-5.9.6-1.amzn2.0.7.x86_64

CVSS assessments

Publisher supplied scores and vectors; these do not replace the advisory severity above.

0

No CVSS assessments were provided.

Publisher references

8
  • CVE-2017-9226 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2017-9226
  • CVE-2017-9227 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2017-9227
  • CVE-2017-9228 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2017-9228
  • CVE-2017-9229 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2017-9229
  • CVE-2017-9226 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-9226
  • CVE-2017-9227 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-9227
  • CVE-2017-9228 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-9228
  • CVE-2017-9229 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-9229

Provenance

Schema version
Unknown
Parser version
amazon-alas/1
Severity origin
publisher
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
html_pagehttps://alas.aws.amazon.com/AL2/ALAS2-2023-2311.htmlUnknownec7a3c18d1494b96e7c17a8343d732a24437d2ddc71d74e279a7a105169483a8amazon-alas/12026-09-26T01:34:09Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2023-2311.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z
catalog_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2023-2311.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected