7.5high
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 str…
Published 9 y ago · modified 4 mo ago · JSON
CVSS
7.5
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
2.5%
percentile 85%
Public exploits
0
none known
Summary
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.
Exploit prediction (EPSS)
2.50% probability of exploitation in the next 30 days, higher than 85% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
- CWE-476 NULL Pointer Dereference
References
- github.com /zherczeg/jerryscript/commit/03a8c630f015f63268639d3ed3bf82cff6fa77d8 · x_refsource_CONFIRM, x_transferred
- github.com /jerryscript-project/jerryscript/issues/1821 · x_refsource_CONFIRM, x_transferred
- github.com /jerryscript-project/jerryscript/commit/e58f2880df608652aff7fd35c45b242467ec0e79 · x_refsource_CONFIRM, x_transferred
- securitytracker.com /id/1038413 · vdb-entry, x_refsource_SECTRACK, x_transferred
Sources
- CVE List: CVE-2017-9250
- NVD: CVE-2017-9250
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.