If any of the ListenAndServe functions are called with an empty token, token authentication is disabled globally for all listeners.
Also, a minor timing side channel was present allowing attackers with very low latency and able to make many requests to potentially recover the token.
{ "review_status": "REVIEWED", "url": "https://pkg.go.dev/vuln/GO-2020-0004" }