ADVISORIES

GitHub Advisory Database

GHSA-3qjf-qh38-x73v

Unauthenticated Miniflux user can bypass allowed networks check to obtain Prometheus metrics

Details

Impact

An unauthenticated user can retrieve Prometheus metrics from a publicly reachable Miniflux instance where the METRICS_COLLECTOR configuration option is enabled and METRICS_ALLOWED_NETWORKS is set to 127.0.0.1/8 (the default).

Patches

PR #1745 fixes the problem. Available in Miniflux >= 2.0.43.

Workarounds

Set METRICS_COLLECTOR to false (default) or run Miniflux behind a trusted reverse-proxy.

References

  • https://miniflux.app/docs/configuration.html#metrics-collector
  • https://miniflux.app/docs/configuration.html#metrics-allowed-networks

Affected packages

EcosystemPackageAffected versions
Gominiflux.app/v2
All versions before 2.0.43 (fixed in 2.0.43)
Gominiflux.app
All versions up to and including 1.0.46

References