CVE-2017-9228
Summary
| CVE | CVE-2017-9228 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2017-05-24 15:29:00 UTC |
| Updated | 2022-07-20 16:34:00 UTC |
| 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 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| fix #60 : invalid state(CCS_VALUE) in parse_char_class() · kkos/oniguruma@3b63d12 · GitHub |
CONFIRM |
github.com |
Patch, Third Party Advisory |
| Heap corruption in next_state_val() due to uninitialized local variable · Issue #60 · kkos/oniguruma · GitHub |
CONFIRM |
github.com |
Exploit, Third Party Advisory |
| Red Hat Customer Portal |
REDHAT |
access.redhat.com |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 356443 Amazon Linux Security Advisory for oniguruma : ALAS2-2023-2311
- 356771 Amazon Linux Security Advisory for Hypertext Preprocessor (PHP) : ALAS2-2023-2375
- 356983 Amazon Linux Security Advisory for oniguruma : AL2012-2023-467