Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-4110

mruby is vulnerable to NULL Pointer Dereference

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

Source evidence

CVE-2021-4110

core-osv · Original source

Published 15 Dec 2021, 05:15 UTC

mruby is vulnerable to NULL Pointer Dereference

osv:CVE-2021-4110
Complete source record
{
  "id": "7c8cc5c2ee015f00dc502ec23dd9b971214c26e34571f69375e4439ca812938a",
  "url": "https://osv.dev/vulnerability/CVE-2021-4110",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-4110",
    "summary": "mruby is vulnerable to NULL Pointer Dereference",
    "evidence": "osv:CVE-2021-4110",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-4110",
      "aliases": [
        "CVE-2021-4110"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mruby/mruby",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1bec3392300e99ea037a8e18aa9694c83390cea3"
                },
                {
                  "fixed": "f5e10c5a79a17939af763b1dcf5232ce47e24a34"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mruby:mruby:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "f5e10c5a79a17939af763b1dcf5232ce47e24a34"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.0.0-preview",
            "1.2.0",
            "1.1.0",
            "1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-4110.json",
            "vanir_signatures": [
              {
                "id": "CVE-2021-4110-2d9b628b",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "81744613183312713194633498232241774221",
                    "76472689784672277773918762623261264376",
                    "338432730937460252987214635049606623656",
                    "38052211126622076645216110611359721483",
                    "315563396418531360526183761440176085399",
                    "210172266487238526245621704828340819147",
                    "276729272281913215123254139623753372139",
                    "321835851428529090526107069021294414619",
                    "228297072417968426637809754933694082842",
                    "56409279269911148357986650262569537814",
                    "245659391275582475787777387061209053749",
                    "139344808500617260219342182204933904756",
                    "65587960909726825423486840593725788251",
                    "121877422886173124221829006259191227271",
                    "228199434602422096300238934284335959329",
                    "91221933838093434937892977919638859936",
                    "116049066758881167759115994756842185546",
                    "54628713840288311888901628046362513501",
                    "85820946849108014322776812196924650503",
                    "112070244442245628114016658775701643324",
                    "119219949876642531913324921046361755735",
                    "196268886614353941434219942095847584898",
                    "299088664775889351272758458788707710858",
                    "41037638100009743519158351735197724954"
                  ]
                },
                "source": "https://github.com/mruby/mruby/commit/f5e10c5a79a17939af763b1dcf5232ce47e24a34",
                "target": {
                  "file": "src/proc.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-4110-381c1074",
                "digest": {
                  "length": 342,
                  "function_hash": "170839887295996789417340302966067123088"
                },
                "source": "https://github.com/mruby/mruby/commit/f5e10c5a79a17939af763b1dcf5232ce47e24a34",
                "target": {
                  "file": "src/proc.c",
                  "function": "mrb_proc_copy"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-4110-3aa92957",
                "digest": {
                  "length": 532,
                  "function_hash": "333984905399964442490591956898359583944"
                },
                "source": "https://github.com/mruby/mruby/commit/f5e10c5a79a17939af763b1dcf5232ce47e24a34",
                "target": {
                  "file": "src/proc.c",
                  "function": "proc_lambda"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-4110-6435b621",
                "digest": {
                  "length": 734,
                  "function_hash": "67351281157542190297845346545570442046"
                },
                "source": "https://github.com/mruby/mruby/commit/f5e10c5a79a17939af763b1dcf5232ce47e24a34",
                "target": {
                  "file": "src/class.c",
                  "function": "mrb_mod_define_method_m"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-4110-9bf7a252",
                "digest": {
                  "length": 504,
                  "function_hash": "312539215175154444098184872836006702823"
                },
                "source": "https://github.com/mruby/mruby/commit/f5e10c5a79a17939af763b1dcf5232ce47e24a34",
                "target": {
                  "file": "src/proc.c",
                  "function": "mrb_proc_s_new"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-4110-b6fc4a57",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "340199511158654564253661211061351390579",
                    "288046828259962987256747164884810810649",
                    "224379878099833040117921309580121891429",
                    "142881671413833203139227836027245281770"
                  ]
                },
                "source": "https://github.com/mruby/mruby/commit/f5e10c5a79a17939af763b1dcf5232ce47e24a34",
                "target": {
                  "file": "include/mruby/proc.h"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-4110-e3504b69",
                "digest": {
                  "length": 243,
                  "function_hash": "312426368257420074825662672108432576495"
                },
                "source": "https://github.com/mruby/mruby/commit/f5e10c5a79a17939af763b1dcf5232ce47e24a34",
                "target": {
                  "file": "src/proc.c",
                  "function": "mrb_proc_init_copy"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-4110-f43053b6",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "83886911781544201250485209751989989607",
                    "261506501903813121030359324506337859499",
                    "232818955340439950056121019440172398908",
                    "314041811696983465427387200341854665636"
                  ]
                },
                "source": "https://github.com/mruby/mruby/commit/f5e10c5a79a17939af763b1dcf5232ce47e24a34",
                "target": {
                  "file": "src/class.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T14:29:25Z"
          }
        }
      ],
      "modified": "2026-10-20T14:29:25.603863322Z",
      "provider": "osv",
      "references": [
        "https://github.com/mruby/mruby/commit/f5e10c5a79a17939af763b1dcf5232ce47e24a34",
        "https://huntr.dev/bounties/4ce5dc47-2512-4c87-8609-453adc8cad20"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-4110",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 389072,
  "published_at": "2021-12-15T05:15:08.323+00:00"
}