CVE-2017-9250
The lexer_process_char_literal function in jerry-core/parser/js/js-lexer.c in JerryScript 1.0 does not skip memory allocation for empty strings, which allows remote attackers to cause a denial of service (NULL pointer dereference and application crash)…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.50%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
The lexer_process_char_literal function in jerry-core/parser/js/js-lexer.c in JerryScript 1.0 does not skip memory allocation for empty strings, which allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via malformed JavaScript source code, related to the jmem_heap_free_block function.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 2.50% probability · 84th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-476
- Affected
- jerryscript/jerryscript
- Source
- cve@mitre.org
References
- http://www.securitytracker.com/id/1038413Third Party Advisory, VDB Entry
- https://github.com/jerryscript-project/jerryscript/commit/e58f2880df608652aff7fd35c45b242467ec0e79Patch, Third Party Advisory
- https://github.com/jerryscript-project/jerryscript/issues/1821Exploit, Third Party Advisory
- https://github.com/zherczeg/jerryscript/commit/03a8c630f015f63268639d3ed3bf82cff6fa77d8Third Party Advisory
- http://www.securitytracker.com/id/1038413Third Party Advisory, VDB Entry
- https://github.com/jerryscript-project/jerryscript/commit/e58f2880df608652aff7fd35c45b242467ec0e79Patch, Third Party Advisory
- https://github.com/jerryscript-project/jerryscript/issues/1821Exploit, Third Party Advisory
- https://github.com/zherczeg/jerryscript/commit/03a8c630f015f63268639d3ed3bf82cff6fa77d8Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.