Description
Algernon is a small self-contained pure-Go web server. Prior to 1.17.7, the SSE event server bound to 0.0.0.0:5553 on Linux/macOS by default because the platform-dependent host default in engine/flags.go:39-46 set host = "" for non-Windows, and utils.JoinHostPort("", ":5553") resolves to ":5553". This vulnerability is fixed in 1.17.7.
Problem types
CWE-668: Exposure of Resource to Wrong Sphere
CWE-1188: Insecure Default Initialization of Resource
Product status
References
github.com/...gernon/security/advisories/GHSA-gj84-924c-48fx
github.com/...gernon/security/advisories/GHSA-gj84-924c-48fx