SecurityContext

CVE-2021-46340: JerryScript - Denial of Service

  • Cve: CVE-2021-46340
  • Name: JerryScript - Denial of Service
  • Description: 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 3.0.0.
  • Impact: Potential denial of service or crash of the JavaScript engine, affecting application availability.
  • Remediation: Update to the latest version of JerryScript where this issue is fixed or apply patches if available.
  • Vulnerability impact: denial_of_service
  • Requirement type: user_interaction
  • Requirements: Attacker needs to execute crafted JavaScript code
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • Epss score: 0.00642
  • Epss percentile: 0.51719
  • Assignee: [email protected]
  • Published at: 2022-01-20T22:15:08Z
  • Age in days: 1769
  • Modified at: 2026-06-17T04:14:46Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-46340
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: vulnerability type, hackerone

Cwe

IdName
CWE-617Reachable Assertion

Public exploits

UrlSourceAdded date
https://github.com/jerryscript-project/jerryscript/issues/4924nvd2022-01-20

References

UrlSourceTags
https://github.com/jerryscript-project/jerryscript/issues/4924nvdExploit, Issue Tracking, Patch, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
jerryscript:jerryscript= 3.0.0nonvd/v1/products/jerryscript/jerryscript

Projects

RepositoryLink kindsIndexedUrl
jerryscript-project/jerryscriptissuesyes/v1/repositories/jerryscript-project/jerryscript

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2022-01-20
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts