# CVE-2023-45821: GO-2023-2135 - Artifact Hub has Incorrect Docker Hub registry check in github.com/artifacthub/hub

Source: https://junglewise.ai/threats/cve-2023-45821-artifact-hub-has-incorrect-docker-hub-registry-check  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-08-21  
License: CC BY 4.0 with a link back

CVE-2023-45821 · Severity: low · CVSS 3.1 · Published 2024-08-21

Artifact Hub has Incorrect Docker Hub registry check in github.com/artifacthub/hub

Technologies: [github.com/artifacthub/hub (Go)](https://junglewise.ai/threats/technologies/github-com-artifacthub-hub). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2023-45821 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-45821 being exploited in the wild.

**How severe is CVE-2023-45821?** Low severity, with a CVSS score of 3.1, published 21 August 2024.

**Which products and versions are affected?** github.com/artifacthub/hub (Go) SEMVER:introduced=0,fixed=1.16.0.

**Is there a fix for CVE-2023-45821?** Yes. github.com/artifacthub/hub (Go): upgrade to 1.16.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-45821?** Check whether you run github.com/artifacthub/hub (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/artifacthub/hub (Go): upgrade to 1.16.0 or later

  ```sh
  go get github.com/artifacthub/hub@v1.16.0
  ```


## Affected products

- github.com/artifacthub/hub (Go) SEMVER:introduced=0,fixed=1.16.0

## Identifiers

- CVE-2023-45821
- GHSA-g6pq-x539-7w4j
- GO-2023-2135

## Related threats

- [GO-2023-2134 - Artifact Hub allows unsafe rego built-in in github.com/artifacthub/hub](https://junglewise.ai/threats/cve-2023-45822-artifact-hub-allows-unsafe-rego-built-in)
- [GO-2023-2136 - Artifact Hub arbitrary file read vulnerability in github.com/artifacthub/hub](https://junglewise.ai/threats/cve-2023-45823-artifact-hub-arbitrary-file-read-vulnerability)
