Server-side Request Forgery (SSRF) Affecting github.com/hashicorp/consul/agent/structs package, versions <1.9.17 >=1.10.0-alpha <1.10.10 >=1.11.0-alpha <1.11.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    2.29% (90th 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-GITHUBCOMHASHICORPCONSULAGENTSTRUCTS-2767970
  • published 20 Apr 2022
  • disclosed 20 Apr 2022
  • credit Offensive Security Research Unit at Ronin

How to fix?

Upgrade github.com/hashicorp/consul/agent/structs to version 1.9.17, 1.10.10, 1.11.5 or higher.

Overview

github.com/hashicorp/consul/agent/structs is a tool for service discovery and configuration.

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via HTTP endpoints that are accessed with a health check could return an HTTP redirect. It should be noted that after upgrading, disable_redirects should be set to true in order to remediate the vulnerability.

CVSS Scores

version 3.1
Expand this section

Snyk

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

NVD

7.5 high