The lexerprocesscharliteral 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 jmemheapfreeblock function.
[
{
"id": "CVE-2017-9250-cd0e1e24",
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/jerryscript-project/jerryscript/commit/e58f2880df608652aff7fd35c45b242467ec0e79",
"target": {
"function": "lexer_process_char_literal",
"file": "jerry-core/parser/js/js-lexer.c"
},
"digest": {
"length": 1418.0,
"function_hash": "26603491970781079697683319097974016813"
},
"signature_type": "Function"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-9250.json"
[
{
"id": "CVE-2017-9250-db52af29",
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/zherczeg/jerryscript/commit/03a8c630f015f63268639d3ed3bf82cff6fa77d8",
"target": {
"function": "lexer_process_char_literal",
"file": "jerry-core/parser/js/js-lexer.c"
},
"digest": {
"length": 1418.0,
"function_hash": "26603491970781079697683319097974016813"
},
"signature_type": "Function"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-9250.json"