CVE-2022-1427

Source
https://cve.org/CVERecord?id=CVE-2022-1427
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-1427.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-1427
Downstream
Related
Published
2022-04-22T23:35:09Z
Modified
2026-07-22T02:23:07.440506Z
Severity
  • 7.7 (High) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H CVSS Calculator
Summary
Out-of-bounds Read in mrb_obj_is_kind_of in in mruby/mruby
Details

Out-of-bounds Read in mrbobjiskindof in in GitHub repository mruby/mruby prior to 3.2. # Impact: Possible arbitrary code execution if being exploited.

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

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

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-1427.json"
vanir_signatures_modified
"2026-07-22T02:23:07Z"
vanir_signatures
[
    {
        "signature_version": "v1",
        "source": "https://github.com/mruby/mruby/commit/a4d97934d51cb88954cc49161dc1d151f64afb6b",
        "id": "CVE-2022-1427-00babb97",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "274897730736599172300393761607690364601",
                "114505310980829003185247294382787175915",
                "328460978894717266751832353720647019275",
                "121959288326405335795002475439309251702",
                "151478879360363565026253165704791508383",
                "240876779431397858588313707891399372694",
                "93497875677963914506759734546554822451"
            ]
        },
        "target": {
            "file": "src/vm.c"
        },
        "deprecated": false,
        "signature_type": "Line"
    },
    {
        "signature_version": "v1",
        "source": "https://github.com/mruby/mruby/commit/a4d97934d51cb88954cc49161dc1d151f64afb6b",
        "id": "CVE-2022-1427-ef637459",
        "digest": {
            "length": 37204.0,
            "function_hash": "211157522779924650861730827363715872994"
        },
        "target": {
            "function": "mrb_vm_exec",
            "file": "src/vm.c"
        },
        "deprecated": false,
        "signature_type": "Function"
    }
]