@socket.io/cluster-engine@0.1.0

A cluster-friendly engine to share load between multiple Node.js processes (without sticky sessions)

  • latest version

    0.1.1

  • latest non vulnerable version

  • first published

    2 years ago

  • latest version published

    25 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @socket.io/cluster-engine package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Prototype Pollution

    @socket.io/cluster-engine is an A cluster-friendly engine to share load between multiple Node.js processes (without sticky sessions)

    Affected versions of this package are vulnerable to Prototype Pollution via client lookup in engine.ts, where session IDs supplied in inter-process messages are used directly as property keys on the this.clients object without an hasOwnProperty guard. An attacker who can send a message with a sid value of __proto__ or another inherited property name can cause the engine to resolve a prototype-inherited value instead of a real client entry, leading to unexpected control flow and a crash of the server process.

    How to fix Prototype Pollution?

    Upgrade @socket.io/cluster-engine to version 0.1.1 or higher.

    <0.1.1