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.
                
            References
                    | Link | Resource | 
|---|---|
| https://github.com/mruby/mruby/commit/1905091634a6a2925c911484434448e568330626 | Patch Third Party Advisory | 
| https://github.com/mruby/mruby/issues/3995 | Exploit Issue Tracking Third Party Advisory | 
| https://lists.debian.org/debian-lts-announce/2022/05/msg00006.html | Mailing List Third Party Advisory | 
| https://github.com/mruby/mruby/commit/1905091634a6a2925c911484434448e568330626 | Patch Third Party Advisory | 
| https://github.com/mruby/mruby/issues/3995 | Exploit Issue Tracking Third Party Advisory | 
| https://lists.debian.org/debian-lts-announce/2022/05/msg00006.html | Mailing List Third Party Advisory | 
Configurations
                    History
                    21 Nov 2024, 03:40
| Type | Values Removed | Values Added | 
|---|---|---|
| References | () https://github.com/mruby/mruby/commit/1905091634a6a2925c911484434448e568330626 - Patch, Third Party Advisory | |
| References | () https://github.com/mruby/mruby/issues/3995 - Exploit, Issue Tracking, Third Party Advisory | |
| References | () https://lists.debian.org/debian-lts-announce/2022/05/msg00006.html - Mailing List, Third Party Advisory | 
Information
                Published : 2018-04-17 21:29
Updated : 2024-11-21 03:40
NVD link : CVE-2018-10191
Mitre link : CVE-2018-10191
CVE.ORG link : CVE-2018-10191
JSON object : View
Products Affected
                debian
- debian_linux
mruby
- mruby
CWE
                
                    
                        
                        CWE-190
                        
            Integer Overflow or Wraparound
