CVE-2022-1212

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-1212
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-1212.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-1212
Downstream
Related
Published
2022-04-05T03:45:19Z
Modified
2025-12-04T10:01:48.574511Z
Severity
  • 9.3 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:H CVSS Calculator
Summary
Use-After-Free in str_escape in mruby/mruby in mruby/mruby
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-416"
    ],
    "cna_assigner": "@huntrdev",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1212.json"
}
References

Affected packages

Git / github.com/mruby/mruby

Affected ranges

Type
GIT
Repo
https://github.com/mruby/mruby
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*

1.0.0
1.1.0
1.2.0
1.3.0
1.4.0
1.4.1

2.*

2.0.0
2.0.1
2.1.0
2.1.0-rc
2.1.1
2.1.1-rc
2.1.1-rc2
2.1.2
2.1.2-rc
2.1.2-rc2

3.*

3.0.0
3.0.0-preview
3.0.0-rc
3.1.0
3.1.0-rc
3.1.0-rc2
3.2.0-rc
3.2.0-rc2
3.2.0-rc3
3.2.0-rc4