Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-46338

There is an Assertion 'ecma_is_lexical_environment (object_p)' failed at /base/ecma-helpers.c(ecma_get_lex_env_type) in JerryScript 3.0.0.

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

Source evidence

CVE-2021-46338

core-osv · Original source

Published 20 Jan 2022, 22:15 UTC

There is an Assertion 'ecma_is_lexical_environment (object_p)' failed at /base/ecma-helpers.c(ecma_get_lex_env_type) in JerryScript 3.0.0.

osv:CVE-2021-46338
Complete source record
{
  "id": "dc3d64ac630cb06b5240428f27ef8d82b36a19a94493f0dceb7c01657fd2dae0",
  "url": "https://osv.dev/vulnerability/CVE-2021-46338",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-46338",
    "summary": "There is an Assertion 'ecma_is_lexical_environment (object_p)' failed at /base/ecma-helpers.c(ecma_get_lex_env_type) in JerryScript 3.0.0.",
    "evidence": "osv:CVE-2021-46338",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-46338",
      "aliases": [
        "CVE-2021-46338"
      ],
      "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/jerryscript-project/jerryscript",
              "type": "GIT",
              "events": [
                {
                  "introduced": "50200152feb724a74a5f64e44d7885151537cfad"
                },
                {
                  "last_affected": "50200152feb724a74a5f64e44d7885151537cfad"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:jerryscript:jerryscript:3.0.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.0.0"
                      },
                      {
                        "last_affected": "3.0.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.0.0",
            "v3.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-46338.json"
          }
        }
      ],
      "modified": "2026-10-20T10:55:09.521998388Z",
      "provider": "osv",
      "references": [
        "https://github.com/jerryscript-project/jerryscript/issues/4900"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-46338",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386966,
  "published_at": "2022-01-20T22:15:08.687+00:00"
}