URL Redirection to Untrusted Site ('Open Redirect') Affecting github.com/goharbor/harbor/src/common/utils package, versions <2.8.5>=2.9.0 <2.9.3>2.10.0 <2.10.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (28th 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 URL Redirection to Untrusted Site ('Open Redirect') vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMGOHARBORHARBORSRCCOMMONUTILS-7242926
  • published11 Jun 2024
  • disclosed10 Jun 2024
  • creditArnaud Cordier

Introduced: 10 Jun 2024

CVE-2024-22244  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade github.com/goharbor/harbor/src/common/utils to version 2.8.5, 2.9.3, 2.10.1 or higher.

Overview

Affected versions of this package are vulnerable to URL Redirection to Untrusted Site ('Open Redirect') via the URL redirection mechanism. An attacker can redirect a user to a malicious site by manipulating the URL parameters.

Workaround

When the Harbor is configured with OIDC authentication, warn the user not to log into the Harbor through external links.

References

CVSS Scores

version 3.1