Advisory Database
  • Advisories
  • Dependency Scanning
  1. conan
  2. ›
  3. jerryscript
  4. ›
  5. CVE-2021-46340

CVE-2021-46340: Reachable Assertion

January 20, 2022 (updated January 26, 2022)

There is an Assertion ‘context_p->stack_top_uint8 == SCAN_STACK_TRY_STATEMENT || context_p->stack_top_uint8 == SCAN_STACK_CATCH_STATEMENT’ failed at /parser/js/js-scanner.c(scanner_scan_statement_end) in JerryScript

References

  • github.com/jerryscript-project/jerryscript/issues/4924
  • nvd.nist.gov/vuln/detail/CVE-2021-46340

Code Behaviors & Features

Detect and mitigate CVE-2021-46340 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

Version 3.0.0

Solution

Unfortunately, there is no solution available yet.

Impact 5.5 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-617: Reachable Assertion

Source file

conan/jerryscript/CVE-2021-46340.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:46 +0000.