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.43Details
### 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
0No fixed version published yet for miniflux.app (go modules). Pin to a known-safe version or switch to an alternative.
References
- https://github.com/miniflux/v2/security/advisories/GHSA-3qjf-qh38-x73v[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2023-27591[ADVISORY]
- https://github.com/miniflux/v2/pull/1745[WEB]
- https://github.com/miniflux/v2[PACKAGE]
- https://github.com/miniflux/v2/releases/tag/2.0.43[WEB]
- https://miniflux.app/docs/configuration.html#metrics-collector[WEB]