Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
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 applicationsLearn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.
Start learningUpgrade exceljs-hardened to version 5.1.0 or higher.
Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via DefinedNames.addEx, which expands cell ranges from xl/workbook.xml cell by cell into a matrix during xlsx.load(). A workbook containing a defined name that covers an entire sheet (e.g., $A$1:$XFD$1048576, approximately 17 billion cells) causes a fatal V8 heap out-of-memory error that cannot be caught with try/catch and terminates the entire Node.js process.
In xl/workbook.xml of any valid workbook that contains a sheet named S, add inside <definedNames>:
<definedName name="x">S!$A$1:$XFD$1048576</definedName>
await new ExcelJS.Workbook().xlsx.load(buffer);
// FATAL ERROR: ... JavaScript heap out of memory (node --max-old-space-size=512)
The file is about 6 KB.
Note: The PoC states a Node.js process run with --max-old-space-size=512 and a workbook file of approximately 6 KB.