VDB
Sign up
HIGH7.5

GHSA-3qjf-qh38-x73v

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

Quick fix

GHSA-3qjf-qh38-x73v — miniflux.app/v2: upgrade to the fixed version with the command below.

go get miniflux.app/v2@v2.0.43

Details

### Impact

An unauthenticated user can retrieve Prometheus metrics from a publicly reachable Miniflux instance where the `METRICS_COLLECTOR` [configuration option](https://miniflux.app/docs/configuration.html#metrics-collector) 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

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/miniflux.app/v2
Introduced in: 0Fixed in: 2.0.43
Fixgo get miniflux.app/v2@v2.0.43
Go/miniflux.app
Introduced in: 0

No fixed version published yet for miniflux.app (go modules). Pin to a known-safe version or switch to an alternative.

References