GHSA-jpgg-cp2x-qrw3

Suggest an improvement
Source
https://github.com/advisories/GHSA-jpgg-cp2x-qrw3
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-jpgg-cp2x-qrw3/GHSA-jpgg-cp2x-qrw3.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-jpgg-cp2x-qrw3
Aliases
Published
2022-12-28T00:30:23Z
Modified
2023-11-01T04:56:38.100339Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
ecnepsnai/web vulnerable to Uncontrolled Resource Consumption
Details

Web Sockets do not execute any AuthenticateMethod methods which may be set, leading to a nil pointer dereference if the returned UserData pointer is assumed to be non-nil, or authentication bypass. This issue only affects WebSockets with an AuthenticateMethod hook. Request handlers that do not explicitly use WebSockets are not vulnerable.

Database specific
{
    "nvd_published_at": "2022-12-27T22:15:00Z",
    "cwe_ids": [
        "CWE-400",
        "CWE-476"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2022-12-30T18:54:08Z"
}
References

Affected packages

Go / github.com/ecnepsnai/web

Package

Name
github.com/ecnepsnai/web
View open source insights on deps.dev
Purl
pkg:golang/github.com/ecnepsnai/web

Affected ranges

Type
SEMVER
Events
Introduced
1.4.0
Fixed
1.5.2