Vulnerabilities · 2017 · Jerryscript
CVE-2017-9250
Jerryscript vulnerability
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
Jerryscript. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Jerryscript runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/jerryscript-project/jerryscript/commit/e58f2880df608652aff7fd35c45b242467ec0e79 · Patch
- www.securitytracker.com/id/1038413 · Third Party Advisory
- github.com/jerryscript-project/jerryscript/issues/1821 · Exploit
- github.com/zherczeg/jerryscript/commit/03a8c630f015f63268639d3ed3bf82cff6fa77d8 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2017-9250
- cve.org/CVERecord?id=CVE-2017-9250
More vulnerabilities in Jerryscript products
CVE-2024-33260CVE-2024-33259CVE-2024-33258CVE-2024-33255CVE-2024-29489CVE-2023-38961CVE-2023-36201CVE-2023-36109All 98
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.