Espruino before 1.99 allows attackers to cause a denial of service (application crash) and a potential Escalation of Privileges with a user crafted input file via a Buffer Overflow during syntax parsing, because strncat is misused.
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
https://github.com/espruino/Espruino/commit/0a7619875bf79877907205f6bee08465b89ff10b | patch vendor advisory |
https://github.com/espruino/Espruino/files/2019220/test_4.txt | exploit vendor advisory |
https://github.com/espruino/Espruino/files/2019210/test_0.txt | exploit vendor advisory |
https://github.com/espruino/Espruino/issues/1425 | issue tracking vendor advisory |
https://github.com/espruino/Espruino/files/2019216/test_2.txt | exploit vendor advisory |