Insufficient Granularity of Access Control Affecting github.com/miniflux/v2/service/httpd package, versions <2.0.43


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (51st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMMINIFLUXV2SERVICEHTTPD-3364532
  • published19 Mar 2023
  • disclosed19 Mar 2023
  • credit40826d

Introduced: 19 Mar 2023

CVE-2023-27591  (opens in a new tab)
CWE-1220  (opens in a new tab)

How to fix?

Upgrade github.com/miniflux/v2/service/httpd to version 2.0.43 or higher.

Overview

Affected versions of this package are vulnerable to Insufficient Granularity of Access Control. 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).

Workaround

Users should set METRICS_COLLECTOR to false (default) or run Miniflux behind a trusted reverse proxy.

CVSS Base Scores

version 3.1