Open Redirect Affecting github.com/caddyserver/caddy/v2/modules/caddyhttp package, versions >=2.4.6 <2.5.0-beta.1


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.21% (60th 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-GITHUBCOMCADDYSERVERCADDYV2MODULESCADDYHTTP-3312076
  • published7 Feb 2023
  • disclosed7 Feb 2023
  • creditMayank Mukhi, Sascha Brendel

Introduced: 7 Feb 2023

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

How to fix?

Upgrade github.com/caddyserver/caddy/v2/modules/caddyhttp to version 2.5.0-beta.1 or higher.

Overview

Affected versions of this package are vulnerable to Open Redirect by appending a malicious URL to a legitimate one, following escaped characters.

PoC

/%5C%5Cexample.com/%252e%252e%252f

CVSS Scores

version 3.1