CVE-2022-1212

CRITICAL
Published Apr 5, 20224y ago · Modified Jun 17, 20262w ago
9.8 CVSS 3.1
Critical
Find Similar
Published Apr 5, 2022 4y ago
Last Modified Jun 17, 2026 2w ago

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 Details

Base Score
9.8
Exploitability
3.9
Impact
5.9
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

No active exploitation signals — not in CISA KEV and no EPSS score yet.

Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 1

CWE-416 Use After Free Memory Safety

Affected Products 3

VendorProductVersionRange
mrubymruby* ≤3.0.0
mrubymruby3.1.0any
mrubymruby3.1.0any

References 2

  • github.com https://github.com/mruby/mruby/commit/3cf291f72224715942beaf8553e42ba8891ab3c6
    PatchThird Party Advisory
  • huntr.dev https://huntr.dev/bounties/9fcc06d0-08e4-49c8-afda-2cae40946abe
    ExploitIssue TrackingPatchThird Party Advisory

Remediation

  • github.com https://github.com/mruby/mruby/commit/3cf291f72224715942beaf8553e42ba8891ab3c6
    PatchThird Party Advisory
  • huntr.dev https://huntr.dev/bounties/9fcc06d0-08e4-49c8-afda-2cae40946abe
    ExploitIssue TrackingPatchThird Party Advisory