parser/js/js-scanner.c in JerryScript 2.2.0 mishandles errors during certain out-of-memory conditions, as demonstrated by a scanner_reverse_info_list NULL pointer dereference and a scanner_scan_all assertion failure.
The product dereferences a pointer that it expects to be valid but is NULL.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Jerryscript | Jerryscript | 2.2.0 (including) | 2.2.0 (including) |
| Iotjs | Ubuntu | bionic | * |
| Iotjs | Ubuntu | groovy | * |
| Iotjs | Ubuntu | hirsute | * |
| Iotjs | Ubuntu | impish | * |
| Iotjs | Ubuntu | trusty | * |
| Iotjs | Ubuntu | upstream | * |