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.
References
Link | Resource |
---|---|
https://github.com/zherczeg/jerryscript/commit/03a8c630f015f63268639d3ed3bf82cff6fa77d8 | Third Party Advisory |
https://github.com/jerryscript-project/jerryscript/issues/1821 | Exploit Third Party Advisory |
https://github.com/jerryscript-project/jerryscript/commit/e58f2880df608652aff7fd35c45b242467ec0e79 | Patch Third Party Advisory |
http://www.securitytracker.com/id/1038413 | Third Party Advisory VDB Entry |
Configurations
Information
Published : 2017-05-28 13:29
Updated : 2020-10-28 12:42
NVD link : CVE-2017-9250
Mitre link : CVE-2017-9250
JSON object : View
CWE
CWE-476
NULL Pointer Dereference
Products Affected
jerryscript
- jerryscript