CVE-2020-36569: Github.com/nanobox io/golang nanoauth Authentication Bypass Vulnerability
CRITICALCVE-2020-36569 is a CRITICAL (CVSS 9.1) authentication bypass vulnerability (CWE-287: Improper Authentication) affecting Github.com/nanobox io/golang nanoauth libraries in the Go ecosystem. The issue involves golang-nanoauth authentication bypass vulnerability. Remediation is available by upgrading affected packages to version 0.0.0-20200131131040-063a3fb69896.
CVE-2020-36569 at a Glance
Security Impact
CVSS: 9.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2020-36569
To remediate this vulnerability, upgrade all affected Github.com/nanobox io/golang nanoauth dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/nanobox-io/golang-nanoauth to 0.0.0-20200131131040-063a3fb69896
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/nanobox-io/golang-nanoauth
How to Check if You Are Affected
To determine whether your application is affected by CVE-2020-36569, inspect your project dependencies for Github.com/nanobox io/golang nanoauth:
inspect dependencies for github.com/nanobox-io/golang-nanoauth
Analyze the terminal output to locate any version of Github.com/nanobox io/golang nanoauth in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20200131131040-063a3fb69896), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Github.com/nanobox io/golang nanoauth, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2020-36569 Affected Github.com/nanobox io/golang nanoauth Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/nanobox-io/golang-nanoauth
|
Go |
≥ 0.0.0-20160722212129-ac0cc4484ad4
< 0.0.0-20200131131040-063a3fb69896
|
0.0.0-20200131131040-063a3fb69896
|
References
Frequently Asked Questions
What is CVE-2020-36569?
Which Github.com/nanobox io/golang nanoauth versions are affected?
What version fixes CVE-2020-36569?
Is github.com/nanobox-io/golang-nanoauth affected?
What is the CVSS score of CVE-2020-36569?
What CWE is associated with CVE-2020-36569?
How can I check Go dependencies for CVE-2020-36569?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-hrm3-3xm6-x33h",
"modified" : "2023-01-10T15:49:55Z",
"published" : "2022-12-28T00:30:23Z",
"aliases" : [ "CVE-2020-36569" ],
"summary" : "golang-nanoauth authentication bypass vulnerability",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/nanobox-io/golang-nanoauth"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.0.0-20160722212129-ac0cc4484ad4"
}, {
"fixed" : "0.0.0-20200131131040-063a3fb69896"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-36569"
}, {
"type" : "WEB",
"url" : "https://github.com/nanobox-io/golang-nanoauth/pull/5"
}, {
"type" : "WEB",
"url" : "https://github.com/nanobox-io/golang-nanoauth/commit/063a3fb69896acf985759f0fe3851f15973993f3"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/nanobox-io/golang-nanoauth"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2020-0004"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-287", "CWE-305" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2022-12-30T18:54:51Z",
"nvd_published_at" : "2022-12-27T22:15:00Z"
}
}