{"api_version":"1","generated_at":"2026-07-23T16:46:52+00:00","cve":"CVE-2022-1212","urls":{"html":"https://cve.report/CVE-2022-1212","api":"https://cve.report/api/cve/CVE-2022-1212.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-1212","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-1212"},"summary":{"title":"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.","state":"PUBLIC","assigner":"security@huntr.dev","published_at":"2022-04-05 04:15:00","updated_at":"2022-04-12 20:53:00"},"problem_types":["CWE-416"],"metrics":[],"references":[{"url":"https://github.com/mruby/mruby/commit/3cf291f72224715942beaf8553e42ba8891ab3c6","name":"https://github.com/mruby/mruby/commit/3cf291f72224715942beaf8553e42ba8891ab3c6","refsource":"MISC","tags":[],"title":"vm.c: create break object before clearing GC arena. · mruby/mruby@3cf291f · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://huntr.dev/bounties/9fcc06d0-08e4-49c8-afda-2cae40946abe","name":"https://huntr.dev/bounties/9fcc06d0-08e4-49c8-afda-2cae40946abe","refsource":"CONFIRM","tags":[],"title":"Use-After-Free in str_escape in mruby/mruby  vulnerability found in mruby","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-1212","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1212","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"1212","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"mruby","cpe5":"mruby","cpe6":"3.1.0","cpe7":"rc","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"1212","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"mruby","cpe5":"mruby","cpe6":"3.1.0","cpe7":"rc2","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"1212","vulnerable":"1","versionEndIncluding":"3.0.0","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"mruby","cpe5":"mruby","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-1212","qid":"183228","title":"Debian Security Update for mruby (CVE-2022-1212)"},{"cve":"CVE-2022-1212","qid":"904950","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for rust (12426)"},{"cve":"CVE-2022-1212","qid":"904993","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for rust (12649)"},{"cve":"CVE-2022-1212","qid":"905014","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for nghttp2 (12586)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security@huntr.dev","ID":"CVE-2022-1212","STATE":"PUBLIC","TITLE":"Use-After-Free in str_escape in mruby/mruby in mruby/mruby"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"mruby/mruby","version":{"version_data":[{"version_affected":"<","version_value":"3.2"}]}}]},"vendor_name":"mruby"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.3,"baseSeverity":"CRITICAL","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:H","version":"3.0"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-416 Use After Free"}]}]},"references":{"reference_data":[{"name":"https://huntr.dev/bounties/9fcc06d0-08e4-49c8-afda-2cae40946abe","refsource":"CONFIRM","url":"https://huntr.dev/bounties/9fcc06d0-08e4-49c8-afda-2cae40946abe"},{"name":"https://github.com/mruby/mruby/commit/3cf291f72224715942beaf8553e42ba8891ab3c6","refsource":"MISC","url":"https://github.com/mruby/mruby/commit/3cf291f72224715942beaf8553e42ba8891ab3c6"}]},"source":{"advisory":"9fcc06d0-08e4-49c8-afda-2cae40946abe","discovery":"EXTERNAL"}},"nvd":{"publishedDate":"2022-04-05 04:15:00","lastModifiedDate":"2022-04-12 20:53:00","problem_types":["CWE-416"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":7.5},"severity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:mruby:mruby:*:*:*:*:*:*:*:*","versionEndIncluding":"3.0.0","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:mruby:mruby:3.1.0:rc2:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:mruby:mruby:3.1.0:rc:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}