Vulnerability · Published Apr 2, 2022 · Assigned by @huntrdev
CVE-2022-1201NULL Pointer Dereference in mrb_vm_exec with super in mruby/mruby
High 7.1
In plain English
A high-severity null pointer dereference 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.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.0)7.1High
Exploit odds (30 days)0.4%top 69.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
NULL Pointer Dereference in mrb_vm_exec with super in GitHub repository mruby/mruby prior to 3.2. This vulnerability is capable of making the mruby interpreter crash, thus affecting the availability of the system.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | mruby | 3.1.0-r0 | ALPINE-CVE-2022-1201 |
| Alpine:v3.21 | mruby | 3.1.0-r0 | ALPINE-CVE-2022-1201 |
| Alpine:v3.22 | mruby | 3.1.0-r0 | ALPINE-CVE-2022-1201 |
| Alpine:v3.23 | mruby | 3.1.0-r0 | ALPINE-CVE-2022-1201 |
| Alpine:v3.24 | mruby | 3.1.0-r0 | ALPINE-CVE-2022-1201 |
| Debian:12 | mruby | 3.1.0-1 | DEBIAN-CVE-2022-1201 |
| Debian:13 | mruby | 3.1.0-1 | DEBIAN-CVE-2022-1201 |
| Debian:14 | mruby | 3.1.0-1 | DEBIAN-CVE-2022-1201 |
| Ubuntu:22.04:LTS | mruby | no fix listed | UBUNTU-CVE-2022-1201 |
| Ubuntu:24.04:LTS | mruby | no fix listed | UBUNTU-CVE-2022-1201 |
| Ubuntu:25.10 | mruby | no fix listed | UBUNTU-CVE-2022-1201 |
| Ubuntu:26.04:LTS | mruby | no fix listed | UBUNTU-CVE-2022-1201 |
| Ubuntu:26.10 | mruby | no fix listed | UBUNTU-CVE-2022-1201 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| mruby | mruby/mruby | unspecified – before 3.2 |
Weakness: CWE-476 · Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H
References
- https://huntr.dev/bounties/6f930add-c9d8-4870-ae56-d4bd8354703b x_refsource_CONFIRM
- https://github.com/mruby/mruby/commit/00acae117da1b45b318dc36531a7b0021b8097ae x_refsource_MISC