high7.5
CVE-2023-27591
Unauthenticated Miniflux user can bypass allowed networks check to obtain Prometheus metrics
Impact
### 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
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | miniflux.app/v2 | <= 2.0.42 | 2.0.43 |
| go | miniflux.app | <= 1.0.46 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Miniflux Project | Miniflux | before 2.0.43 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/miniflux/v2/pull/1745
- https://github.com/miniflux/v2/releases/tag/2.0.43
- https://github.com/miniflux/v2/security/advisories/GHSA-3qjf-qh38-x73v
- https://miniflux.app/docs/configuration.html#metrics-collector
- https://github.com/advisories/GHSA-3qjf-qh38-x73v
- https://nvd.nist.gov/vuln/detail/CVE-2023-27591