{
  "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"
  }
}