Server-Side Request Forgery (SSRF) Affecting github.com/artifacthub/hub package, versions <1.16.0


Severity

Recommended
0.0
low
0
10

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

Threat Intelligence

EPSS
0.09% (42nd 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-GITHUBCOMARTIFACTHUBHUB-6016494
  • published20 Oct 2023
  • disclosed19 Oct 2023
  • creditDejan Zelic

Introduced: 19 Oct 2023

CVE-2023-45822  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade github.com/artifacthub/hub to version 1.16.0 or higher.

Overview

github.com/artifacthub/hub is an a web-based application that enables finding, installing, and publishing packages and configurations for CNCF projects.

Affected versions of this package are vulnerable to Server-Side Request Forgery (SSRF) through the rego built-in. An attacker can make HTTP requests to internal resources and forward the responses to an external entity by exploiting the default unsafe rego built-in used when defining authorization policies.

References

CVSS Base Scores

version 3.1