Vulnerability · Published Apr 22, 2022 · Assigned by @huntrdev
CVE-2022-1427Out-of-bounds Read in mrb_obj_is_kind_of in in mruby/mruby
High 7.7
In plain English
A high-severity out-of-bounds read in mruby/mruby from mruby. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.0)7.7High
Exploit odds (30 days)0.5%top 58.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
Out-of-bounds Read in mrb_obj_is_kind_of in in GitHub repository mruby/mruby prior to 3.2. # Impact: Possible arbitrary code execution if being exploited.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | mruby | 3.1.0-r0 | ALPINE-CVE-2022-1427 |
| Alpine:v3.21 | mruby | 3.1.0-r0 | ALPINE-CVE-2022-1427 |
| Alpine:v3.22 | mruby | 3.1.0-r0 | ALPINE-CVE-2022-1427 |
| Alpine:v3.23 | mruby | 3.1.0-r0 | ALPINE-CVE-2022-1427 |
| Alpine:v3.24 | mruby | 3.1.0-r0 | ALPINE-CVE-2022-1427 |
| Debian:12 | mruby | 3.1.0-1 | DEBIAN-CVE-2022-1427 |
| Debian:13 | mruby | 3.1.0-1 | DEBIAN-CVE-2022-1427 |
| Debian:14 | mruby | 3.1.0-1 | DEBIAN-CVE-2022-1427 |
| Ubuntu:22.04:LTS | mruby | no fix listed | UBUNTU-CVE-2022-1427 |
| Ubuntu:24.04:LTS | mruby | no fix listed | UBUNTU-CVE-2022-1427 |
| Ubuntu:25.10 | mruby | no fix listed | UBUNTU-CVE-2022-1427 |
| Ubuntu:26.04:LTS | mruby | no fix listed | UBUNTU-CVE-2022-1427 |
| Ubuntu:26.10 | mruby | no fix listed | UBUNTU-CVE-2022-1427 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| mruby | mruby/mruby | unspecified – before 3.2 |
Weakness: CWE-125 · Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
References
- https://huntr.dev/bounties/23b6f0a9-64f5-421e-a55f-b5b7a671f301 x_refsource_CONFIRM
- https://github.com/mruby/mruby/commit/a4d97934d51cb88954cc49161dc1d151f64afb6b x_refsource_MISC