9.1critical
Authentication bypass in github.com/nanobox-io/golang-nanoauth
- Severity
- 9.1critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.88% (higher than 60% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Go
- Also known as
- GHSA-hrm3-3xm6-x33hGO-2020-0004
Description
Authentication is globally bypassed in github.com/nanobox-io/golang-nanoauth between v0.0.0-20160722212129-ac0cc4484ad4 and v0.0.0-20200131131040-063a3fb69896 if ListenAndServe is called with an empty token.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| github.com/nanobox-io/golang-nanoauth | from 0.0.0-20160722212129-ac0cc4484ad4 before 0.0.0-20200131131040-063a3fb69896 | CVE List |
| github.com/nanobox-io/golang-nanoauth (Go) | from 0.0.0-20160722212129-ac0cc4484ad4 before 0.0.0-20200131131040-063a3fb69896 | GitHub Advisory Database, Go Vulnerability Database |
| digitalocean golang-nanoauth | from 2016-07-22 up to 2020-01-31 | NVD |
All scores
| CISA-ADP | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Classification
What each source says
CVE List
Authentication is globally bypassed in github.com/nanobox-io/golang-nanoauth between v0.0.0-20160722212129-ac0cc4484ad4 and v0.0.0-20200131131040-063a3fb69896 if ListenAndServe is called with an empty token.
Go Vulnerability Database
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.
NVD (es)
La autenticación se omite globalmente en github.com/nanobox-io/golang-nanoauth entre v0.0.0-20160722212129-ac0cc4484ad4 y v0.0.0-20200131131040-063a3fb69896 si se llama a ListenAndServe con un token vacío.
References
| https://github.com/nanobox-io/golang-nanoauth/pull/5 | fix, third-party-advisory, web | |
| https://github.com/nanobox-io/golang-nanoauth/commit/063a3fb69896acf985759f0fe3851f15973993f3 | fix, patch, third-party-advisory, web | |
| https://pkg.go.dev/vuln/GO-2020-0004 | third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-36569 | advisory | |
| https://github.com/nanobox-io/golang-nanoauth | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-36569 changed 2025-04-11 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-hrm3-3xm6-x33h changed 2023-11-08 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2020-0004 changed 2024-05-20 | CC-BY-4.0 |
| NVD | CVE-2020-36569 changed 2026-06-17 | Public domain |