CVE-2021-46340
Last modified
CVE-2021-46340 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.62% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Jerryscript | Jerryscript | 3.0.0 |
References
- https://github.com/jerryscript-project/jerryscript/issues/4924Exploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/jerryscript-project/jerryscript/issues/4924Exploit, Issue Tracking, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-46340?
How severe is CVE-2021-46340?
How do I fix CVE-2021-46340?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-46334Moddable SDK v11.5.0 was discovered to contain a stack buffe…7.8
- CVE-2021-46335Moddable SDK v11.5.0 was discovered to contain a NULL pointe…5.5
- CVE-2021-46336There is an Assertion 'opts & PARSER_CLASS_LITERAL_CTOR_PRES…5.5
- CVE-2021-46337There is an Assertion 'page_p != NULL' failed at /parser/js/…5.5
- CVE-2021-46338There is an Assertion 'ecma_is_lexical_environment (object_p…5.5
- CVE-2021-46339There is an Assertion 'lit_is_valid_cesu8_string (string_p, …5.5
- CVE-2021-46342There is an Assertion 'ecma_is_lexical_environment (obj_p) |…5.5
- CVE-2021-46343There is an Assertion 'context_p->token.type == LEXER_LITERA…5.5
- CVE-2021-46344There is an Assertion 'flags & PARSER_PATTERN_HAS_REST_ELEME…5.5
- CVE-2021-46345There is an Assertion 'cesu8_cursor_p == cesu8_end_p' failed…5.5
- CVE-2021-46346There is an Assertion 'local_tza == ecma_date_local_time_zon…5.5
- CVE-2021-46347There is an Assertion 'ecma_object_check_class_name_is_objec…5.5
Are you affected by CVE-2021-46340?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
