NULL pointer dereference in Jerryscript
CVE-2017-9250
- CVSS v3
- 7.5 High
- Public exploits
- None known
- EPSS
- 0.025 · 84.9th percentile
- Published
- 2017-05-28
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.025, 84.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Jerryscript — versions 1.0
Weakness classification (CWE)
References
- github.com/zherczeg/jerryscript/commit/03a8c630f015f63268639d3ed3bf82cff6fa77d8 (Third Party Advisory)
- github.com/jerryscript-project/jerryscript/issues/1821 (Exploit, Third Party Advisory)
- github.com/jerryscript-project/jerryscript/commit/e58f2880df608652aff7fd35c45b2… (Patch, Third Party Advisory)
- www.securitytracker.com/id/1038413 (Third Party Advisory, VDB Entry, vdb-entry)