Vulnerabilities in pkg:golang/miniflux.app

PACKAGE
Advisory Identifier: GHSA-3qjf-qh38-x73v
Advisory Summary

CVE-2023-27591 is a HIGH (CVSS 7.5) unauthenticated miniflux user can bypass vulnerability (CWE-1220: Insufficient Granularity of Access Control) affecting Miniflux.app/v2 libraries in the Go ecosystem. The issue involves unauthenticated miniflux user can bypass allowed networks check to obtain prometheus metrics. Remediation is available by upgrading affected packages to version 2.0.43.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/miniflux.app

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/miniflux.app. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-3qjf-qh38-x73v CVE-2023-27591 HIGH Unauthenticated Miniflux user can bypass allowed networks check to obtain Prometheus metrics

CVE-2023-27591 at a Glance

CVE Identifier CVE-2023-27591
GHSA Identifier GHSA-3qjf-qh38-x73v
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-1220: Insufficient Granularity of Access Control
Affected Product Miniflux.app/v2
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2023-27591

To remediate this vulnerability, upgrade all affected Miniflux.app/v2 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

miniflux.app/v2 fixed: 2.0.43
Upgrade miniflux.app/v2 to 2.0.43
miniflux.app fixed: Latest secure release
Upgrade miniflux.app to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for miniflux.app/v2

How to Check if You Are Affected

To determine whether your application is affected by CVE-2023-27591, inspect your project dependencies for Miniflux.app/v2:

inspect dependencies for miniflux.app/v2

Analyze the terminal output to locate any version of Miniflux.app/v2 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.43), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-1220: Insufficient Granularity of Access Control, where the product implements access controls via a policy or other feature with the intention to disable or restrict accesses (reads and/or writes) to assets in a system from untrusted agents. however, implemented access controls lack required granularity, which renders the control policy too broad because it allows accesses from unauthorized agents to the security-sensitive assets. In Miniflux.app/v2, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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

CVE-2023-27591 Affected Miniflux.app/v2 Versions

2 component(s)
Fixed Versions:
2.0.43
Product / Package Ecosystem Affected Versions Fixed Version
miniflux.app/v2
Go
< 2.0.43
2.0.43
miniflux.app
Go
≤ 1.0.46

References

Frequently Asked Questions

What is CVE-2023-27591?
CVE-2023-27591 is a security vulnerability in Miniflux.app/v2 involving Unauthenticated Miniflux user can bypass allowed networks check to obtain Prometheus metrics under CWE-1220: Insufficient Granularity of Access Control.
Which Miniflux.app/v2 versions are affected?
Affected versions include releases prior to 2.0.43 across affected packages: miniflux.app/v2, miniflux.app.
What version fixes CVE-2023-27591?
Upgrading to 2.0.43 (or the latest patched release for your respective branch) resolves the vulnerability.
Is miniflux.app/v2 affected?
Yes, miniflux.app/v2 is affected in releases prior to 2.0.43. Upgrade your dependency to 2.0.43 or later.
Is miniflux.app affected?
Yes, miniflux.app is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2023-27591?
CVE-2023-27591 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2023-27591?
CVE-2023-27591 is classified under CWE-1220: Insufficient Granularity of Access Control (The product implements access controls via a policy or other feature with the intention to disable or restrict accesses (reads and/or writes) to assets in a system from untrusted agents. However, implemented access controls lack required granularity, which renders the control policy too broad because it allows accesses from unauthorized agents to the security-sensitive assets.).
How can I check Go dependencies for CVE-2023-27591?
Run the dependency tree command: 'inspect dependencies for miniflux.app/v2'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-3qjf-qh38-x73v",
  "modified" : "2025-04-02T17:24:11Z",
  "published" : "2025-04-02T17:24:11Z",
  "aliases" : [ "CVE-2023-27591" ],
  "summary" : "Unauthenticated Miniflux user can bypass allowed networks check to obtain Prometheus metrics",
  "details" : "### Impact\n\nAn 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).\n\n### Patches\n\nPR #1745 fixes the problem. Available in Miniflux >= 2.0.43.\n\n### Workarounds\n\nSet `METRICS_COLLECTOR` to `false` (default) or run Miniflux behind a trusted reverse-proxy.\n\n### References\n\n- https://miniflux.app/docs/configuration.html#metrics-collector\n- https://miniflux.app/docs/configuration.html#metrics-allowed-networks",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "miniflux.app/v2"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.0.43"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.0.42"
    }
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "miniflux.app"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "1.0.46"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/miniflux/v2/security/advisories/GHSA-3qjf-qh38-x73v"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-27591"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/miniflux/v2/pull/1745"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/miniflux/v2"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/miniflux/v2/releases/tag/2.0.43"
  }, {
    "type" : "WEB",
    "url" : "https://miniflux.app/docs/configuration.html#metrics-collector"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1220", "CWE-200" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-04-02T17:24:11Z",
    "nvd_published_at" : "2023-03-17T20:15:00Z"
  }
}