Critical severity · published Apr 5, 2022
CVE-2022-1212
Use-After-Free in str_escape in mruby/mruby in GitHub repository mruby/mruby prior to 3.2
9.8
CVSS
1.8%
EPSS
No
On KEV
Description
Use-After-Free in str_escape in mruby/mruby in GitHub repository mruby/mruby prior to 3.2. Possible arbitrary code execution if being exploited.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.8% · higher than 78% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MR
Mruby · Mruby
through 3.0.0; 3.1.0; 3.1.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-1212
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-1212
Patch
https://github.com/mruby/mruby/commit/3cf291f72224715942beaf8553e42ba8891ab3c6
Exploit
https://huntr.dev/bounties/9fcc06d0-08e4-49c8-afda-2cae40946abe
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-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
9.8
CVE-2022-0080
mruby is vulnerable to Heap-based Buffer Overflow
