CVE-2020-36569
JSON

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 packageVersionsReported by
github.com/nanobox-io/golang-nanoauthfrom 0.0.0-20160722212129-ac0cc4484ad4 before 0.0.0-20200131131040-063a3fb69896CVE List
github.com/nanobox-io/golang-nanoauth (Go)from 0.0.0-20160722212129-ac0cc4484ad4 before 0.0.0-20200131131040-063a3fb69896GitHub Advisory Database, Go Vulnerability Database
digitalocean golang-nanoauthfrom 2016-07-22 up to 2020-01-31NVD

All scores

CISA-ADP9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
GitHub9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
NVD9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-287CWE-305

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

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

Sources

SourceRecordLicence
CVE ListCVE-2020-36569 changed 2025-04-11CVE Terms of Use
GitHub Advisory DatabaseGHSA-hrm3-3xm6-x33h changed 2023-11-08CC-BY-4.0
Go Vulnerability DatabaseGO-2020-0004 changed 2024-05-20CC-BY-4.0
NVDCVE-2020-36569 changed 2026-06-17Public domain