Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-11743

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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-11743
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:16 UTC · Revision 1

Source evidence

CVE-2018-11743

core-osv · Original source

Published 5 Jun 2018, 13:29 UTC

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

osv:CVE-2018-11743
Complete source record
{
  "id": "5ac7c79e5c3e517717d30d8cefc1e866e57d30d0a869affd8fe0a74ff201ba7d",
  "url": "https://osv.dev/vulnerability/CVE-2018-11743",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-11743",
    "summary": "The init_copy function in kernel.c in mruby 1.4.1 makes initialize_copy calls for TT_ICLASS objects, which allows attackers to cause a denial of service (mrb_hash_keys uninitialized pointer and application crash) or possibly have unspecified other impact.",
    "evidence": "osv:CVE-2018-11743",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2018-11743",
      "aliases": [
        "CVE-2018-11743"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mruby/mruby",
              "type": "GIT",
              "events": [
                {
                  "introduced": "023070a6396233974785a8fd5735b9380a884f27"
                },
                {
                  "last_affected": "023070a6396233974785a8fd5735b9380a884f27"
                },
                {
                  "fixed": "b64ce17852b180dfeea81cf458660be41a78974d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mruby:mruby:1.4.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.4.1"
                      },
                      {
                        "last_affected": "1.4.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "b64ce17852b180dfeea81cf458660be41a78974d"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.4.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-11743.json",
            "vanir_signatures": [
              {
                "id": "CVE-2018-11743-244638a9",
                "digest": {
                  "length": 583,
                  "function_hash": "48112143005334984103996638571299297107"
                },
                "source": "https://github.com/mruby/mruby/commit/b64ce17852b180dfeea81cf458660be41a78974d",
                "target": {
                  "file": "src/kernel.c",
                  "function": "init_copy"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-11743-c2146ee5",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "295482155461672475953902644544377184591",
                    "164249401958941042688244750441504177802",
                    "195418266659789850486705450476988748358",
                    "159697100646635414149928797440161989047"
                  ]
                },
                "source": "https://github.com/mruby/mruby/commit/b64ce17852b180dfeea81cf458660be41a78974d",
                "target": {
                  "file": "src/kernel.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:26:23Z"
          }
        }
      ],
      "modified": "2026-10-20T13:26:23.351638397Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2022/05/msg00006.html",
        "https://github.com/mruby/mruby/commit/b64ce17852b180dfeea81cf458660be41a78974d",
        "https://github.com/mruby/mruby/issues/4027"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-11743",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387682,
  "published_at": "2018-06-05T13:29:00.36+00:00"
}