CVE-2022-0481

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-0481
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-0481.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-0481
Downstream
Related
Published
2022-02-04T23:15:12Z
Modified
2025-10-21T06:45:06.519246Z
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

NULL Pointer Dereference in Homebrew mruby prior to 3.2.

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

[
    {
        "source": "https://github.com/mruby/mruby/commit/ae3c99767a27f5c6c584162e2adc6a5d0eb2c54e",
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "file": "mrbgems/mruby-compiler/core/codegen.c"
        },
        "id": "CVE-2022-0481-87940fd9",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "65251094017747054696574950967279466972",
                "149557534029695174909841093262885926405",
                "239994894420660623504789901265894378299",
                "8161099728401165533228283133619408604",
                "131655888054924282864627581707735239487",
                "176052129860508564888943615711538511549",
                "288156821055742336443962440947373185778",
                "283342148383856369913499303057220069717"
            ]
        },
        "signature_type": "Line"
    },
    {
        "source": "https://github.com/mruby/mruby/commit/ae3c99767a27f5c6c584162e2adc6a5d0eb2c54e",
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "function": "gen_hash",
            "file": "mrbgems/mruby-compiler/core/codegen.c"
        },
        "id": "CVE-2022-0481-f91558b9",
        "digest": {
            "length": 1261.0,
            "function_hash": "45982939882261723834382504391570358651"
        },
        "signature_type": "Function"
    }
]