Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1qcGdnLWNwMngtcXJ3M84AAwoP
ecnepsnai/web vulnerable to Uncontrolled Resource Consumption
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.
Permalink: https://github.com/advisories/GHSA-jpgg-cp2x-qrw3JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1qcGdnLWNwMngtcXJ3M84AAwoP
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: over 1 year ago
Updated: 8 months ago
CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-jpgg-cp2x-qrw3, CVE-2021-4236
References:
- https://nvd.nist.gov/vuln/detail/CVE-2021-4236
- https://github.com/ecnepsnai/web/commit/5a78f8d5c41ce60dcf9f61aaf47a7a8dc3e0002f
- https://pkg.go.dev/vuln/GO-2021-0107
- https://github.com/advisories/GHSA-jpgg-cp2x-qrw3
Blast Radius: 3.0
Affected Packages
go:github.com/ecnepsnai/web
Dependent packages: 1Dependent repositories: 2
Downloads:
Affected Version Ranges: >= 1.4.0, < 1.5.2
Fixed in: 1.5.2
All affected versions: 1.4.0, 1.5.0, 1.5.1
All unaffected versions: 1.3.3, 1.5.2, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.8.0, 1.8.1, 1.8.2, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.10.0, 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.11.4