Vulnerability Details : CVE-2022-1212
Potential exploit
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.
Vulnerability category: Memory Corruption
Products affected by CVE-2022-1212
- cpe:2.3:a:mruby:mruby:*:*:*:*:*:*:*:*
- cpe:2.3:a:mruby:mruby:3.1.0:rc:*:*:*:*:*:*
- cpe:2.3:a:mruby:mruby:3.1.0:rc2:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-1212
0.32%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 52 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-1212
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.3
|
CRITICAL | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:H |
3.9
|
4.7
|
huntr.dev | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2022-1212
-
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.Assigned by: security@huntr.dev (Primary)
References for CVE-2022-1212
-
https://github.com/mruby/mruby/commit/3cf291f72224715942beaf8553e42ba8891ab3c6
vm.c: create break object before clearing GC arena. · mruby/mruby@3cf291f · GitHubPatch;Third Party Advisory
-
https://huntr.dev/bounties/9fcc06d0-08e4-49c8-afda-2cae40946abe
Use-After-Free in str_escape in mruby/mruby vulnerability found in mrubyExploit;Issue Tracking;Patch;Third Party Advisory
Jump to