Authentication Bypass Affecting github.com/influxdata/influxdb/services/httpd package, versions <1.7.6


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Mature
    EPSS
    5.88% (94th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-GOLANG-GITHUBCOMINFLUXDATAINFLUXDBSERVICESHTTPD-1041719
  • published 19 Nov 2020
  • disclosed 19 Nov 2020
  • credit Unknown

How to fix?

Upgrade github.com/influxdata/influxdb/services/httpd to version 1.7.6 or higher.

Overview

github.com/influxdata/influxdb/services/httpd is a httpd package that implements the HTTP service and REST API for InfluxDB.

Affected versions of this package are vulnerable to Authentication Bypass. InfluxDB 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).

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
8.2 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    Low
  • Availability (A)
    None
Expand this section

NVD

9.8 critical
Expand this section

Red Hat

8.6 high