CVE-2018-11743

Source
https://nvd.nist.gov/vuln/detail/CVE-2018-11743
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-11743.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2018-11743
Downstream
Published
2018-06-05T13:29:00Z
Modified
2025-10-15T09:18:46.169928Z
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

The initcopy function in kernel.c in mruby 1.4.1 makes initializecopy calls for TTICLASS objects, which allows attackers to cause a denial of service (mrbhash_keys uninitialized pointer and application crash) or possibly have unspecified other impact.

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

Database specific

vanir_signatures

[
    {
        "id": "CVE-2018-11743-244638a9",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "digest": {
            "function_hash": "48112143005334984103996638571299297107",
            "length": 583.0
        },
        "target": {
            "file": "src/kernel.c",
            "function": "init_copy"
        },
        "source": "https://github.com/mruby/mruby/commit/b64ce17852b180dfeea81cf458660be41a78974d"
    },
    {
        "id": "CVE-2018-11743-c2146ee5",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "295482155461672475953902644544377184591",
                "164249401958941042688244750441504177802",
                "195418266659789850486705450476988748358",
                "159697100646635414149928797440161989047"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "src/kernel.c"
        },
        "source": "https://github.com/mruby/mruby/commit/b64ce17852b180dfeea81cf458660be41a78974d"
    }
]