Vulnerability CVE-2018-10191


Published: 2018-04-17

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.

Type:

CWE-416

(Use After Free)

CVSS2 => (AV:N/AC:L/Au:N/C:P/I:P/A:P)

CVSS Base Score
Impact Subscore
Exploitability Subscore
7.5/10
6.4/10
10/10
Exploit range
Attack complexity
Authentication
Remote
Low
No required
Confidentiality impact
Integrity impact
Availability impact
Partial
Partial
Partial
Affected software
Mruby -> Mruby 

 References:
https://github.com/mruby/mruby/commit/1905091634a6a2925c911484434448e568330626
https://github.com/mruby/mruby/issues/3995

Copyright 2024, cxsecurity.com

 

Back to Top