Espruino before 1.99 allows attackers to cause a denial of service (application crash) with a user crafted input file via an integer overflow during syntax parsing. This was addressed by fixing stack size detection on Linux in jsutils.c.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
https://github.com/espruino/Espruino/issues/1427 | issue tracking vendor advisory |
https://github.com/espruino/Espruino/commit/a0d7f432abee692402c00e8b615ff5982dde9780 | patch vendor advisory |
https://github.com/espruino/Espruino/files/2019243/so_0.txt | exploit vendor advisory |