Read the docs
TI-2021-03096 Aliases CVE-2021-4236GHSA-5gjg-jgh4-gppm

Panic or authentication bypass in github.com/ecnepsnai/web

Priority MEDIUM 51CWE-476Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-476.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01191 68th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed github.com/ecnepsnai/web (github.com/ecnepsnai/web): 1.5.2github.com/ecnepsnai/web (Go): 1.5.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
github.com/ecnepsnai/webgithub.com/ecnepsnai/web1.4.0 to before 1.5.21.5.2Patch availableCNA
—github.com/ecnepsnai/web (Go)1.4.0 to before 1.5.21.5.2Patch availableGHSA-5gjg-jgh4-gppm
  • github.com/ecnepsnai/web Vendorgithub.com/ecnepsnai/web Affected 1.4.0 to before 1.5.2 Fixed in 1.5.2 Patch available CNA
  • github.com/ecnepsnai/web (Go) Vendor— Affected 1.4.0 to before 1.5.2 Fixed in 1.5.2 Patch available GHSA-5gjg-jgh4-gppm

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:web_project:web:*:*:*:*:*:go:*:*1.4.0 to before 1.5.2VulnerableWeb Project
  • cpe:2.3:a:web_project:web:*:*:*:*:*:go:*:* Versions 1.4.0 to before 1.5.2 Vulnerable ·Web Project

Remediation

  • Fix · CNA github.com/ecnepsnai/web (github.com/ecnepsnai/web) Fixed in 1.5.2
  • Fix · GHSA-5gjg-jgh4-gppm github.com/ecnepsnai/web (Go) Fixed in 1.5.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-4236
  2. 2026-10-03 Alias added: GHSA-5gjg-jgh4-gppm

References

Sources