npmWorst: Moderate2 advisories

sockjs: known vulnerabilities

sockjs has 2 reviewed security advisories in the GitHub Advisory Database — 2 moderate. The most recent was published 2020-07-09. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the sockjs versions running across your servers, containers and images, and ranks what to patch first.

How to fix sockjs

Upgrade sockjs to a release at or above the fixed version shown for each advisory below. For npm:

npm install sockjs@0.3.20 (or run npm audit fix)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (2)

Improper Input Validation in SocksJS-Node Moderate 5.3 CWE-20 — Affected: before 0.3.20. Fixed in 0.3.20. Published 2020-07-09. GHSA-c9g6-9335-x697 · CVE-2020-7693
Cross-site scripting in SocksJS-node Moderate 6.1 CWE-79 — Affected: before 0.3.0. Fixed in 0.3.0. Published 2020-02-10. GHSA-hh8v-jmh3-9437 · CVE-2020-8823

Find sockjs across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.