Uncaught Exception Affecting org.webjars.npm:engine.io package, versions [,6.5.5)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.2% (60th 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 Learn

Learn about Uncaught Exception vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGWEBJARSNPM-5496332
  • published4 May 2023
  • disclosed3 May 2023
  • creditThomas Rinsma

Introduced: 3 May 2023

CVE-2023-31125  (opens in a new tab)
CWE-248  (opens in a new tab)

How to fix?

Upgrade org.webjars.npm:engine.io to version 6.5.5 or higher.

Overview

org.webjars.npm:engine.io is a WebJar for engine.io.

Affected versions of this package are vulnerable to Uncaught Exception such that a specially crafted HTTP request can trigger an uncaught exception on the Engine.IO server, thus killing the Node.js process.

TypeError: Cannot read properties of undefined (reading 'handlesUpgrades')
    at Server.onWebSocket (build/server.js:515:67)

Note: This issue impacts all the users of the engine.io package, including those who uses depending packages like socket.io.

CVSS Scores

version 3.1