Vulnerability · Published Jan 2, 2022 · Assigned by @huntrdev
CVE-2022-0080Heap-based Buffer Overflow in mruby/mruby
High 8.2
In plain English
A high-severity heap buffer overflow in mruby/mruby from mruby. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)8.2High
Exploit odds (30 days)1.6%top 23.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
mruby is vulnerable to Heap-based Buffer Overflow
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | mruby | 3.1.0-r0 | ALPINE-CVE-2022-0080 |
| Alpine:v3.21 | mruby | 3.1.0-r0 | ALPINE-CVE-2022-0080 |
| Alpine:v3.22 | mruby | 3.1.0-r0 | ALPINE-CVE-2022-0080 |
| Alpine:v3.23 | mruby | 3.1.0-r0 | ALPINE-CVE-2022-0080 |
| Alpine:v3.24 | mruby | 3.1.0-r0 | ALPINE-CVE-2022-0080 |
| Debian:12 | mruby | 3.0.0-3 | DEBIAN-CVE-2022-0080 |
| Debian:13 | mruby | 3.0.0-3 | DEBIAN-CVE-2022-0080 |
| Debian:14 | mruby | 3.0.0-3 | DEBIAN-CVE-2022-0080 |
| Ubuntu:22.04:LTS | mruby | no fix listed | UBUNTU-CVE-2022-0080 |
| Ubuntu:24.04:LTS | mruby | no fix listed | UBUNTU-CVE-2022-0080 |
| Ubuntu:25.10 | mruby | no fix listed | UBUNTU-CVE-2022-0080 |
| Ubuntu:26.04:LTS | mruby | no fix listed | UBUNTU-CVE-2022-0080 |
| Ubuntu:26.10 | mruby | no fix listed | UBUNTU-CVE-2022-0080 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| mruby | mruby/mruby | unspecified – before 3.1 |
Weakness: CWE-122 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
References
- https://huntr.dev/bounties/59a70392-4864-4ce3-8e35-6ac2111d1e2e x_refsource_CONFIRM
- https://github.com/mruby/mruby/commit/28ccc664e5dcd3f9d55173e9afde77c4705a9ab6 x_refsource_MISC