Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-23310

There is an Assertion 'context_p->next_scanner_info_p->type == SCANNER_TYPE_FUNCTION' failed at js-parser-statm.c:733 in parser_parse_function_statement in JerryScript 2.2.0.

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

Source evidence

CVE-2020-23310

core-osv · Original source

Published 10 Jun 2021, 23:15 UTC

There is an Assertion 'context_p->next_scanner_info_p->type == SCANNER_TYPE_FUNCTION' failed at js-parser-statm.c:733 in parser_parse_function_statement in JerryScript 2.2.0.

osv:CVE-2020-23310
Complete source record
{
  "id": "92b3b19e9318211d3333f6df4ae09f3edc1de2864e0ac668b203d6cf00fddc01",
  "url": "https://osv.dev/vulnerability/CVE-2020-23310",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-23310",
    "summary": "There is an Assertion 'context_p->next_scanner_info_p->type == SCANNER_TYPE_FUNCTION' failed at js-parser-statm.c:733 in parser_parse_function_statement in JerryScript 2.2.0.",
    "evidence": "osv:CVE-2020-23310",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-23310",
      "aliases": [
        "CVE-2020-23310"
      ],
      "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/jerryscript-project/jerryscript",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5fdeb7c1d68e8c5209e186e1760bc703a723d588"
                },
                {
                  "last_affected": "5fdeb7c1d68e8c5209e186e1760bc703a723d588"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:jerryscript:jerryscript:2.2.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.2.0"
                      },
                      {
                        "last_affected": "2.2.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.2.0",
            "v2.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-23310.json"
          }
        }
      ],
      "modified": "2026-10-20T10:52:49.211101891Z",
      "provider": "osv",
      "references": [
        "https://github.com/jerryscript-project/jerryscript/issues/3821"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-23310",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 383873,
  "published_at": "2021-06-10T23:15:07.91+00:00"
}