CVE-2022-0631

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-0631
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-0631.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-0631
Downstream
Published
2022-02-18T14:15:07Z
Modified
2025-10-14T19:00:25.126947Z
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": [
        {
            "deprecated": false,
            "signature_type": "Line",
            "target": {
                "file": "src/vm.c"
            },
            "signature_version": "v1",
            "digest": {
                "line_hashes": [
                    "243309662882086276702655714909276486693",
                    "272723878323406354967538782514104337041",
                    "121243226226501960812189109070916907127",
                    "293478779474975161687901677285577891266",
                    "170845495810357436757775838122690288960",
                    "67819624772517592286870265287583808527",
                    "260149569394654772260247187436470291531"
                ],
                "threshold": 0.9
            },
            "id": "CVE-2022-0631-d7acab44",
            "source": "https://github.com/mruby/mruby/commit/47068ae07a5fa3aa9a1879cdfe98a9ce0f339299"
        },
        {
            "deprecated": false,
            "signature_type": "Function",
            "target": {
                "file": "src/vm.c",
                "function": "mrb_f_send"
            },
            "signature_version": "v1",
            "digest": {
                "length": 1311.0,
                "function_hash": "161743637531591569071046463365686133494"
            },
            "id": "CVE-2022-0631-dada918e",
            "source": "https://github.com/mruby/mruby/commit/47068ae07a5fa3aa9a1879cdfe98a9ce0f339299"
        }
    ]
}