Authentication Bypass Affecting github.com/grafana/grafana/pkg/api package, versions <4.6.4 >=5.0.0 <5.2.3


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    1.62% (88th 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-GITHUBCOMGRAFANAGRAFANAPKGAPI-50087
  • published 2 Sep 2018
  • disclosed 19 Aug 2018
  • credit Unknown

How to fix?

Upgrade github.com/grafana/grafana/pkg/api to version 4.6.4, 5.2.3 or higher.

Overview

github.com/grafana/grafana/pkg/api is a tool for monitoring and metric analytics & dashboards for Graphite, InfluxDB & Prometheus & More.

Affected versions of the package are vulnerable to Authentication Bypass. An attacker could generate a valid cookie knowing only a username of an LDAP or OAuth user.

CVSS Scores

version 3.1
Expand this section

Snyk

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