Stack-based Buffer Overflow Affecting espruino/espruino package, versions [,2.21)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.06% (31st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-ESPRUINOESPRUINO-6231730
  • published7 Feb 2024
  • disclosed7 Feb 2024
  • creditSeyeon Jeong, Jueon Eom

Introduced: 7 Feb 2024

CVE-2024-25200  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade espruino/espruino to version 2.21 or higher.

Overview

Affected versions of this package are vulnerable to Stack-based Buffer Overflow via the jspeFactorFunctionCall function in src/jsparse.c. An attacker can cause a crash or potentially execute arbitrary code by providing crafted input that triggers a stack overflow.

CVSS Scores

version 3.1