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 byVersionScoreVector
NVD3.17.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD2.05.0AV:N/AC:L/Au:N/C:N/I:N/A:P

Classification

Weakness

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

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.