CVE-2022-1201

Source
https://cve.org/CVERecord?id=CVE-2022-1201
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-1201.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-1201
Downstream
Published
2022-04-02T07:45:34Z
Modified
2026-08-12T12:59:05.961477Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H CVSS Calculator
Summary
NULL Pointer Dereference in mrb_vm_exec with super in mruby/mruby
Details

NULL Pointer Dereference in mrbvmexec with super in GitHub repository mruby/mruby prior to 3.2. This vulnerability is capable of making the mruby interpreter crash, thus affecting the availability of the system.

Database specific
{
    "cwe_ids": [
        "CWE-476"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1201.json",
    "cna_assigner": "@huntrdev"
}
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
Fixed
Database specific
Show details
{
    "cpe": "cpe:2.3:a:mruby:mruby:*:*:*:*:*:ruby:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "3.2"
        }
    ],
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

1.*
1.0.0
1.1.0
1.2.0
3.*
3.0.0-preview
3.2.0-rc
3.2.0-rc2
3.2.0-rc3
3.2.0-rc4

Database specific

vanir_signatures_modified
"2026-08-12T12:59:05Z"
vanir_signatures
[
    {
        "id": "CVE-2022-1201-8adae72d",
        "deprecated": false,
        "signature_type": "Line",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "179525370878760998072609635129890595634",
                "13482419406641249321845258079091709333",
                "259404867586065736235106022543442769453",
                "80578160588035345591188747966116207148"
            ]
        },
        "source": "https://github.com/mruby/mruby/commit/00acae117da1b45b318dc36531a7b0021b8097ae",
        "target": {
            "file": "src/vm.c"
        }
    },
    {
        "id": "CVE-2022-1201-fd519e20",
        "deprecated": false,
        "signature_type": "Function",
        "signature_version": "v1",
        "digest": {
            "length": 36863.0,
            "function_hash": "69922871808566938961439703307463367988"
        },
        "source": "https://github.com/mruby/mruby/commit/00acae117da1b45b318dc36531a7b0021b8097ae",
        "target": {
            "function": "mrb_vm_exec",
            "file": "src/vm.c"
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-1201.json"