ADVISORIES

Go Vulnerability Database

GO-2020-0004

Authentication bypass in github.com/nanobox-io/golang-nanoauth

Details

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.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/nanobox-io/golang-nanoauth
From 0.0.0-20160722212129-ac0cc4484ad4 before 0.0.0-20200131131040-063a3fb69896 (fixed in 0.0.0-20200131131040-063a3fb69896)

References