socket.io@0.8.4 vulnerabilities

node.js realtime framework server

  • latest version

    4.8.1

  • latest non vulnerable version

  • first published

    13 years ago

  • latest version published

    1 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the socket.io package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Insecure Defaults

    socket.io is a node.js realtime framework server.

    Affected versions of this package are vulnerable to Insecure Defaults due to CORS Misconfiguration. All domains are whitelisted by default.

    How to fix Insecure Defaults?

    Upgrade socket.io to version 2.4.0 or higher.

    <2.4.0
    • M
    Insecure Randomness

    socket.io is a node.js realtime framework server. Affected versions of the package are vulnerable to Insecure Randomness due to the cryptographically insecure Math.random function which can produce predictable values and should not be used in security-sensitive context.

    How to fix Insecure Randomness?

    Upgrade socket.io to version 0.9.7 or higher.

    <0.9.7
    • M
    Cross-site Scripting (XSS)

    socket.io is a node.js realtime framework server. Affected versions of the package are vulnerable to Cross-site Scripting (XSS) due to insufficient user input validation in the jsonp-polling function. Attackers may exploit this by injecting arbitrary script into the browser.

    You can read more about Cross-site Scripting (XSS) on our blog.

    How to fix Cross-site Scripting (XSS)?

    Upgrade socket.io to version 0.9.6 or higher.

    <0.9.6