GitHub Advisoryadvisory · npm

GHSA-fxwf-4rqh-v8g3 CORS misconfiguration in socket.io

MEDIUM Published 2021-01-20 Modified 2023-09-11 Official page ↗
Aliases
CVE-2020-28481
Ecosystem
npm
Packages
socket.io
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-346, CWE-453
Reviewed
2021-01-20

Affected packages

• npm socket.io: < 2.4.0 → fixed in 2.4.0

Description

The package socket.io before 2.4.0 are vulnerable to Insecure Defaults due to CORS Misconfiguration. All domains are whitelisted by default.

Related

Alias · CVE (1)

  • CVE-2020-28481 The package socket.io before 2.4.0 are vulnerable to Insecure Defaults due to CORS Misconfiguration. vulnerability

Weakness · CWE (2)

  • CWE-346 Origin Validation Error weakness
  • CWE-453 Insecure Default Variable Initialization weakness

References