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.
{
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"extracted_events": [
{
"range": [
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
}
],
"source": "CPE_STRING"
}
],
"vendor_product": "debian:debian_linux"
}
]
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:mruby:mruby:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.1.1"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:mruby:mruby:2.1.2:rc:*:*:*:*:*:*",
"range": [
{
"introduced": "2.1.2-rc"
},
{
"last_affected": "2.1.2-rc"
}
],
"source": "CPE_STRING"
}
]
}