CVE-2022-1212

Name
CVE-2022-1212
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.
NVD Severity
high
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://github.com/mruby/mruby/commit/3cf291f72224715942beaf8553e42ba8891ab3c6
CONFIRM https://huntr.dev/bounties/9fcc06d0-08e4-49c8-afda-2cae40946abe

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:mruby:mruby:*:*:*:*:*:*:*:* mruby >= None <= 3.0.0
cpe:2.3:a:mruby:mruby:3.1.0:rc:*:*:*:*:*:* mruby == None == 3.1.0

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
mruby 3.15-community 3.0.0-r1 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable
mruby edge-community 3.1.0-r0 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable
mruby 3.16-community 3.1.0-r0 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable