Unsafe rego built-in allowed in Artifact Hub
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-918 and the CVSS impact.
Summary
Artifact Hub is a web-based application that enables finding, installing, and publishing packages and configurations for CNCF projects. During a security audit of Artifact Hub's code base a security researcher identified a bug in which a default unsafe rego built-in was allowed to be used when defining authorization policies. Artifact Hub includes a fine-grained authorization mechanism that allows organizations to define what actions can be performed by their members. It is based on customizable authorization policies that are enforced by the `Open Policy Agent`. Policies are written using `rego` and their data files are expected to be json documents. By default, `rego` allows policies to make HTTP requests, which can be abused to send requests to internal resources and forward the responses to an external entity. In the context of Artifact Hub, this capability should have been disabled. This issue has been resolved in version `1.16.0`. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| artifacthub | hub | before 1.16.0 | 1.16.0 | Patch available | CNA |
| — | github.com/artifacthub/hub (Go) | before 1.16.0 | 1.16.0 | Patch available | GHSA-9pc8-m4vp-ggvf |
- hub Vendorartifacthub Affected before 1.16.0 Fixed in 1.16.0 Patch available CNA
- github.com/artifacthub/hub (Go) Vendor— Affected before 1.16.0 Fixed in 1.16.0 Patch available GHSA-9pc8-m4vp-ggvf
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:artifacthub:hub:*:*:*:*:*:*:*:* | before 1.16.0 | Vulnerable | artifacthub |
- cpe:2.3:a:artifacthub:hub:*:*:*:*:*:*:*:* Versions before 1.16.0 Vulnerable ·artifacthub
Remediation
- Fix · CNA hub (artifacthub) Fixed in 1.16.0
- Fix · GHSA-9pc8-m4vp-ggvf github.com/artifacthub/hub (Go) Fixed in 1.16.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-45822
- 2026-10-03 Alias added: GHSA-9pc8-m4vp-ggvf
- 2026-10-23 EPSS moved to the 50th–90th percentile
References
Advisory 2
More artifacthub Hub vulnerabilities
- TI-2023-24583 Arbitrary file read in Artifact Hub CVSS 3.1HIGH 7.5
- TI-2023-24581 Incorrect Docker Hub registry check in Artifact Hub CVSS 3.1MEDIUM 6.3
Sources
- CVE-2023-45822 · CVE Program
- CVE-2023-45822 · NVD
- FIRST EPSS
- GHSA-9pc8-m4vp-ggvf · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences