CVE-2019-20933: Github.com/influxdata/influxdb Improper Authentication Vulnerability
CRITICALCVE-2019-20933 is a CRITICAL (CVSS 9.8) improper authentication vulnerability (CWE-287: Improper Authentication) affecting Github.com/influxdata/influxdb libraries in the Go ecosystem. The issue involves improper authentication in influxdb. Remediation is available by upgrading affected packages to version 1.7.6.
CVE-2019-20933 at a Glance
Security Impact
CVSS: 9.8
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:H).
How to Fix CVE-2019-20933
To remediate this vulnerability, upgrade all affected Github.com/influxdata/influxdb 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/influxdata/influxdb to 1.7.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/influxdata/influxdb
How to Check if You Are Affected
To determine whether your application is affected by CVE-2019-20933, inspect your project dependencies for Github.com/influxdata/influxdb:
inspect dependencies for github.com/influxdata/influxdb
Analyze the terminal output to locate any version of Github.com/influxdata/influxdb in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.7.6), 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/influxdata/influxdb, 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-2019-20933 Affected Github.com/influxdata/influxdb Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/influxdata/influxdb
|
Go |
< 1.7.6
|
1.7.6
|
References
Frequently Asked Questions
What is CVE-2019-20933?
Which Github.com/influxdata/influxdb versions are affected?
What version fixes CVE-2019-20933?
Is github.com/influxdata/influxdb affected?
What is the CVSS score of CVE-2019-20933?
What CWE is associated with CVE-2019-20933?
How can I check Go dependencies for CVE-2019-20933?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2rmp-fw5r-j5qv",
"modified" : "2023-10-02T15:14:38Z",
"published" : "2021-05-18T18:22:05Z",
"aliases" : [ "CVE-2019-20933" ],
"summary" : "Improper Authentication in InfluxDB",
"details" : "InfluxDB before 1.7.6 has an authentication bypass vulnerability in the authenticate function in `services/httpd/handler.go` because a JWT token may have an empty SharedSecret (aka shared secret).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/influxdata/influxdb"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.7.6"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-20933"
}, {
"type" : "WEB",
"url" : "https://github.com/influxdata/influxdb/issues/12927"
}, {
"type" : "WEB",
"url" : "https://github.com/influxdata/influxdb/commit/761b557315ff9c1642cf3b0e5797cd3d983a24c0"
}, {
"type" : "WEB",
"url" : "https://github.com/influxdata/influxdb/compare/v1.7.5...v1.7.6"
}, {
"type" : "WEB",
"url" : "https://github.com/ticarpi/jwt_tool/blob/a6ca3e0524a204b5add070bc6874cb4e7e5a9864/jwt_tool.py#L1368"
}, {
"type" : "WEB",
"url" : "https://lists.debian.org/debian-lts-announce/2020/12/msg00030.html"
}, {
"type" : "PACKAGE",
"url" : "https://pkg.go.dev/github.com/influxdata/influxdb/services/httpd"
}, {
"type" : "WEB",
"url" : "https://www.debian.org/security/2021/dsa-4823"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-287" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2021-05-12T21:55:56Z",
"nvd_published_at" : "2020-11-19T02:15:00Z"
}
}