RSS   Vulnerabilities for 'Mruby'   RSS

2020-07-21
 
CVE-2020-15866

CWE-787
 

 
mruby through 2.1.2-rc has a heap-based buffer overflow in the mrb_yield_with_class function in vm.c because of incorrect VM stack handling. It can be triggered via the stack_copy function.

 
2020-01-11
 
CVE-2020-6840

CWE-416
 

 
In mruby 2.1.0, there is a use-after-free in hash_slice in mrbgems/mruby-hash-ext/src/hash-ext.c.

 
 
CVE-2020-6839

CWE-787
 

 
In mruby 2.1.0, there is a stack-based buffer overflow in mrb_str_len_to_dbl in string.c.

 
 
CVE-2020-6838

CWE-416
 

 
In mruby 2.1.0, there is a use-after-free in hash_values_at in mrbgems/mruby-hash-ext/src/hash-ext.c.

 
2018-07-16
 
CVE-2018-14337

CWE-190
 

 
The CHECK macro in mrbgems/mruby-sprintf/src/sprintf.c in mruby 1.4.1 contains a signed integer overflow, possibly leading to out-of-bounds memory access because the mrb_str_resize function in string.c does not check for a negative length.

 
2018-06-12
 
CVE-2018-12249

CWE-476
 

 
An issue was discovered in mruby 1.4.1. There is a NULL pointer dereference in mrb_class_real because "class BasicObject" is not properly supported in class.c.

 
 
CVE-2018-12248

CWE-125
 

 
An issue was discovered in mruby 1.4.1. There is a heap-based buffer over-read associated with OP_ENTER because mrbgems/mruby-fiber/src/fiber.c does not extend the stack in cases of many arguments to fiber.

 
 
CVE-2018-12247

CWE-476
 

 
An issue was discovered in mruby 1.4.1. There is a NULL pointer dereference in mrb_class, related to certain .clone usage, because mrb_obj_clone in kernel.c copies flags other than the MRB_FLAG_IS_FROZEN flag (e.g., the embedded flag).

 
2018-06-05
 
CVE-2018-11743

CWE-824
 

 
The init_copy function in kernel.c in mruby 1.4.1 makes initialize_copy calls for TT_ICLASS objects, which allows attackers to cause a denial of service (mrb_hash_keys uninitialized pointer and application crash) or possibly have unspecified other impact.

 
2018-04-18
 
CVE-2018-10199

CWE-416
 

 
In versions of mruby up to and including 1.4.0, a use-after-free vulnerability exists in src/io.c::File#initilialize_copy(). An attacker that can cause Ruby code to be run can possibly use this to execute arbitrary code.

 


Copyright 2020, cxsecurity.com

 

Back to Top