high7.5
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 r…
Impact
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.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Jerryscript | Jerryscript | Version 1.0 |
Weakness classification
References
- NVD record
- CVE.org record
- http://www.securitytracker.com/id/1038413
- https://github.com/jerryscript-project/jerryscript/commit/e58f2880df608652aff7fd35c45b242467ec0e79
- https://github.com/jerryscript-project/jerryscript/issues/1821
- https://github.com/zherczeg/jerryscript/commit/03a8c630f015f63268639d3ed3bf82cff6fa77d8
- http://www.securitytracker.com/id/1038413
- https://github.com/jerryscript-project/jerryscript/commit/e58f2880df608652aff7fd35c45b242467ec0e79
- https://github.com/jerryscript-project/jerryscript/issues/1821
- https://github.com/zherczeg/jerryscript/commit/03a8c630f015f63268639d3ed3bf82cff6fa77d8