CVE-2022-0570

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-0570
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-0570.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-0570
Downstream
Published
2022-02-14T12:15:22Z
Modified
2025-10-15T13:33:08.003456Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Heap-based Buffer Overflow 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

[
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "250889964619986683115425509793375695441",
                "149991598682261646872352068888183222690",
                "180301770692101320549549624457081274120",
                "275175438879289193104325410777767751349",
                "269313880609985085994355009870185956722",
                "180772099378382195537977391242184203595",
                "33931034340967883629544446573788297901",
                "106572323625518312406043916966425474622"
            ]
        },
        "signature_type": "Line",
        "target": {
            "file": "mrbgems/mruby-compiler/core/codegen.c"
        },
        "deprecated": false,
        "source": "https://github.com/mruby/mruby/commit/38b164ace7d6ae1c367883a3d67d7f559783faad",
        "signature_version": "v1",
        "id": "CVE-2022-0570-3790ead7"
    },
    {
        "digest": {
            "length": 1181.0,
            "function_hash": "38189806631701030856622711639734159361"
        },
        "signature_type": "Function",
        "target": {
            "function": "gen_values",
            "file": "mrbgems/mruby-compiler/core/codegen.c"
        },
        "deprecated": false,
        "source": "https://github.com/mruby/mruby/commit/38b164ace7d6ae1c367883a3d67d7f559783faad",
        "signature_version": "v1",
        "id": "CVE-2022-0570-dce166ab"
    }
]