CVE-2023-45821
NixOS vulnerability analysis and mitigation

Overview

CVE-2023-45821 affects Artifact Hub, a web-based application for finding, installing, and publishing packages and configurations for CNCF projects. The vulnerability was discovered during a security audit by researcher Dejan Zelic at OffSec and disclosed on October 19, 2023. The issue exists in the registryIsDockerHub function which incorrectly validates registry domains by only checking for a docker.io suffix (GitHub Advisory).

Technical details

The vulnerability stems from an improper validation check in the registryIsDockerHub function, which only verifies if a registry domain ends with docker.io. The CVSS v3.1 base score is 6.3 (Medium) with vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L according to NVD, while GitHub rates it as 5.4 (Medium) with vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L (NVD).

Impact

The vulnerability could allow an attacker to hijack Docker credentials by purchasing a domain ending with docker.io and deploying a fake OCI registry. While artifacthub.io only uses credentials with public content read permissions, other Artifact Hub deployments might be using credentials with broader access, potentially leading to unauthorized access to private repositories (GitHub Advisory).

Mitigation and workarounds

This vulnerability has been patched in version 1.16.0 of Artifact Hub. Users are advised to upgrade to this version or later. There are no known workarounds for this vulnerability (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-69264CRITICAL9.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69263HIGH8.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69262HIGH7.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2026-21885MEDIUM6.5
  • NixOSNixOS
  • miniflux
NoYesJan 08, 2026
CVE-2026-22184MEDIUM4.6
  • NixOSNixOS
  • java-1.8.0-openjdk-demo
NoYesJan 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management