High severity · published Jul 1, 2021
CVE-2020-36401
mruby 2.1.2 has a double free in mrb_default_allocf (called from mrb_free and obj_free)
7.8
CVSS
1%
EPSS
No
On KEV
Description
mruby 2.1.2 has a double free in mrb_default_allocf (called from mrb_free and obj_free).
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.0% · higher than 62% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MR
Mruby · Mruby
2.1.2 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2020-36401
CVE.org
https://www.cve.org/CVERecord?id=CVE-2020-36401
Exploit
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=23801
Third Party Advisory
https://github.com/google/oss-fuzz-vulns/blob/main/vulns/mruby/OSV-2020-744.yaml
Patch
https://github.com/mruby/mruby/commit/97319697c8f9f6ff27b32589947e1918e3015503
More from Mruby
9.8
CVE-2022-1286
heap-buffer-overflow in mrb_vm_exec in mruby/mruby in GitHub repository mruby/mruby prior to 3.2
9.8
CVE-2022-1276
Out-of-bounds Read in mrb_get_args in GitHub repository mruby/mruby prior to 3.2
9.8
CVE-2022-1212
Use-After-Free in str_escape in mruby/mruby in GitHub repository mruby/mruby prior to 3.2
9.8
CVE-2022-0631
Heap-based Buffer Overflow in Homebrew mruby prior to 3.2
9.8
CVE-2022-0570
Heap-based Buffer Overflow in Homebrew mruby prior to 3.2
