Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-33447

An issue was discovered in mjs (mJS: Restricted JavaScript engine), ES6 (JavaScript version 6). There is NULL pointer dereference in mjs_print() in mjs.c.

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

Source evidence

CVE-2021-33447

core-osv · Original source

Published 26 Jul 2022, 13:15 UTC

An issue was discovered in mjs (mJS: Restricted JavaScript engine), ES6 (JavaScript version 6). There is NULL pointer dereference in mjs_print() in mjs.c.

osv:CVE-2021-33447
Complete source record
{
  "id": "6eaab6f1b586f1e5d89c83714a2751526b48e48e4b9e0cce08635db81b59b10f",
  "url": "https://osv.dev/vulnerability/CVE-2021-33447",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-33447",
    "summary": "An issue was discovered in mjs (mJS: Restricted JavaScript engine), ES6 (JavaScript version 6). There is NULL pointer dereference in mjs_print() in mjs.c.",
    "evidence": "osv:CVE-2021-33447",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-33447",
      "aliases": [
        "CVE-2021-33447"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/cesanta/mjs",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "b1b6eac6b1e5b830a5cb14f8f4dc690ef3162551"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:cesanta:mjs:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.20.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.19.1",
            "2.19.0",
            "2.18.0",
            "2.17.0",
            "2.16.0",
            "2.15.0",
            "2.14.0",
            "2.13.1",
            "2.13.0",
            "2.12.1",
            "2.12.0",
            "2.11.0",
            "2.10.2",
            "2.10.1",
            "2.10.0",
            "2.9.0",
            "2.8.1",
            "2.8.0",
            "2.7.1",
            "2.7.0",
            "2.6.0",
            "2.5.1",
            "2.5",
            "2.4.3",
            "2.4.2",
            "2.4.1",
            "2.4",
            "2.3",
            "2.2",
            "2.1",
            "2.0",
            "1.26",
            "1.25",
            "1.24",
            "1.23",
            "1.22.1",
            "1.22",
            "1.21",
            "1.20.1",
            "1.20",
            "ddd",
            "1.19.6",
            "1.19.5",
            "1.19.4",
            "1.19.3",
            "1.19.2",
            "1.19.1",
            "1.19",
            "1.18",
            "1.17",
            "1.16",
            "1.15",
            "1.14",
            "1.13",
            "1.12",
            "1.11",
            "1.10",
            "1.9",
            "1.8",
            "1.7",
            "1.6",
            "1.5"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-33447.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:43.896922839Z",
      "provider": "osv",
      "references": [
        "https://gist.github.com/Clingto/bb632c0c463f4b2c97e4f65f751c5e6d",
        "https://github.com/cesanta/mjs/issues/164"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-33447",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386021,
  "published_at": "2022-07-26T13:15:09.003+00:00"
}