CVE-2018-10191Integer Overflow or Wraparound in Mruby

Severity
9.8CRITICALNVD
EPSS
1.3%
top 20.30%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedApr 17
Latest updateMay 7

Description

In versions of mruby up to and including 1.4.0, an integer overflow exists in src/vm.c::mrb_vm_exec() when handling OP_GETUPVAR in the presence of deep scope nesting, resulting in a use-after-free. An attacker that can cause Ruby code to be run can use this to possibly execute arbitrary code.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages3 packages

debiandebian/mruby< mruby 1.4.0+20180418+git54905e98-1 (bookworm)
Debianmruby/mruby< 1.4.0+20180418+git54905e98-1+3
NVDmruby/mruby1.4.0

Also affects: Debian Linux 9.0

Patches

🔴Vulnerability Details

2
GHSA
GHSA-444w-xm89-r2p5: In versions of mruby up to and including 12022-05-07
OSV
CVE-2018-10191: In versions of mruby up to and including 12018-04-17

📋Vendor Advisories

1
Debian
CVE-2018-10191: mruby - In versions of mruby up to and including 1.4.0, an integer overflow exists in sr...2018