Server-side Request Forgery (SSRF) Affecting github.com/hashicorp/consul/agent 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. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
2.7% (91st 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 Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMHASHICORPCONSULAGENT-2767968
  • published20 Apr 2022
  • disclosed20 Apr 2022
  • creditOffensive Security Research Unit at Ronin

Introduced: 20 Apr 2022

CVE-2022-29153  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

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

Overview

github.com/hashicorp/consul/agent is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.

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