ArchLinux: 202107-10: mruby: arbitrary code execution
Summary
mruby 2.1.2 has a double free in mrb_default_allocf (called from mrb_free and obj_free).
Resolution
Upgrade to 3.0.0-1.
# pacman -Syu "mruby>=3.0.0-1"
The problem has been fixed upstream in version 3.0.0.
References
https://github.com/google/oss-fuzz-vulns/blob/main/vulns/mruby/OSV-2020-744.yaml https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=23801 https://github.com/mruby/mruby/commit/97319697c8f9f6ff27b32589947e1918e3015503 https://security.archlinux.org/CVE-2020-36401
Workaround
None.