Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-9pc8-m4vp-ggvf: Artifact Hub allows unsafe rego built-in

Impact

During a security audit of Artifact Hub’s code base, a security researcher at OffSec 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.

Patches

This issue has been resolved in version 1.16.0.

ghsa
#js#git#auth
  1. GitHub Advisory Database
  2. GitHub Reviewed
  3. GHSA-9pc8-m4vp-ggvf

Artifact Hub allows unsafe rego built-in

Low severity GitHub Reviewed Published Oct 19, 2023 in artifacthub/hub • Updated Oct 19, 2023

Package

gomod github.com/artifacthub/hub (Go)

Affected versions

< 1.16.0

Impact

During a security audit of Artifact Hub’s code base, a security researcher at OffSec 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.

Patches

This issue has been resolved in version 1.16.0.

References

  • GHSA-9pc8-m4vp-ggvf
  • https://artifacthub.io/packages/helm/artifact-hub/artifact-hub?modal=changelog&version=1.16.0

Published to the GitHub Advisory Database

Oct 19, 2023

Last updated

Oct 19, 2023

ghsa: Latest News

GHSA-vm62-9jw3-c8w3: Gogs has an argument Injection in the built-in SSH server