GHSA-f7f4-hqp2-7prc

Suggest an improvement
Source
https://github.com/advisories/GHSA-f7f4-hqp2-7prc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/07/GHSA-f7f4-hqp2-7prc/GHSA-f7f4-hqp2-7prc.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-f7f4-hqp2-7prc
Aliases
Published
2020-07-24T20:10:21Z
Modified
2023-11-08T04:00:14Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Improper Input Validation in sails-hook-sockets
Details

Sails.js before v1.0.0-46 allows attackers to cause a denial of service with a single request because there is no error handler in sails-hook-sockets to handle an empty pathname in a WebSocket request.

Database specific
{
    "cwe_ids":  [
        "CWE-20"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2020-07-24T17:27:33Z",
    "nvd_published_at":  "2020-07-21T14:15:00Z",
    "severity":  "HIGH"
}
References

Affected packages

npm / sails-hook-sockets

Package

Name
sails-hook-sockets
View open source insights on deps.dev
Purl
pkg:npm/sails-hook-sockets

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.5.5

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/07/GHSA-f7f4-hqp2-7prc/GHSA-f7f4-hqp2-7prc.json"