CVE-2021-4188

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-4188
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-4188.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-4188
Downstream
Published
2021-12-30T07:15:06.527Z
Modified
2025-11-14T12:30:05.150570Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

mruby is vulnerable to NULL Pointer Dereference

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

Affected versions

1.*

1.0.0
1.1.0
1.2.0
1.3.0
1.4.0
1.4.1

2.*

2.0.0
2.0.1
2.1.0
2.1.0-rc
2.1.1
2.1.1-rc
2.1.1-rc2
2.1.2
2.1.2-rc
2.1.2-rc2

3.*

3.0.0
3.0.0-preview
3.0.0-rc

Database specific

vanir_signatures

[
    {
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "function": "mrb_ary_shift_m",
            "file": "src/array.c"
        },
        "digest": {
            "function_hash": "37954158918689870791588392275949326726",
            "length": 890.0
        },
        "signature_type": "Function",
        "source": "https://github.com/mruby/mruby/commit/27d1e0132a0804581dca28df042e7047fd27eaa8",
        "id": "CVE-2021-4188-9967f21e"
    },
    {
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "file": "src/array.c"
        },
        "digest": {
            "line_hashes": [
                "106015773944940121631457516801267141597",
                "200164347224279747332640641164624681152",
                "147759857033709860589441019877560062090",
                "146407732127185322705323635000629719463",
                "160133063868024290580254221049114076058",
                "220261854329947105569061363168510393159",
                "254278044406850844972228896550156874436",
                "131457773645096981598414092035754655768",
                "38924608948513807081127574170593596575",
                "147897857018675925285525009373532303328"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line",
        "source": "https://github.com/mruby/mruby/commit/27d1e0132a0804581dca28df042e7047fd27eaa8",
        "id": "CVE-2021-4188-ec0cc330"
    }
]

source

"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-4188.json"