Open Redirect Affecting github.com/caddyserver/caddy/modules/caddyhttp package, versions <2.5.0


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
0.12% (48th 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 Open Redirect vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMCADDYSERVERCADDYMODULESCADDYHTTP-2859221
  • published6 Jun 2022
  • disclosed3 Jun 2022
  • creditdeluxetom

Introduced: 3 Jun 2022

CVE-2022-29718  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade github.com/caddyserver/caddy/modules/caddyhttp to version 2.5.0 or higher.

Overview

Affected versions of this package are vulnerable to Open Redirect due to improper path sanitization in the MatchPath function, exploiting this vulnerability is possible by tricking the victim users to click on crafted links.

CVSS Scores

version 3.1