Buffer over-read in Espruino - CVE-2018-11598
Published: September 9, 2018
Espruino
Detailed vulnerability description
The vulnerability allows a remote attacker to gain access to sensitive information and perform a denial of service attack.
The vulnerability exists due to boundary error when parsing files in jsparse.c. A remote attacker can create a specially crafted file and gain access to sensitive information or trigger denial of service conditions.
How to mitigate CVE-2018-11598
Sources
- https://github.com/espruino/Espruino/commit/bf4416ab9129ee3afd56739ea4e3cd0da5484b6b
- https://github.com/espruino/Espruino/files/2025956/test_0.txt
- https://github.com/espruino/Espruino/files/2025963/test_1.txt
- https://github.com/espruino/Espruino/files/2025968/test_2.txt
- https://github.com/espruino/Espruino/issues/1437