Skip to content
Heist/ feed
Back to feed
Medium

Apache NiFi: Potential Insertion of MongoDB Password in Provenance Record

Type: advisorySources: OSV

Apache NiFi 1.13.0 through 2.2.0 includes the username and password used to authenticate with MongoDB in the NiFi provenance events that MongoDB components generate during processing. An authorized user with read access to the provenance events of those processors may see the credentials information. Upgrading to Apache NiFi 2.3.0 is the recommended mitigation, which removes the credentials from provenance event records.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-27017
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 04:31 UTC · Revision 1

Source evidence

Apache NiFi: Potential Insertion of MongoDB Password in Provenance Record

core-osv · Original source

Published 12 Mar 2025, 16:19 UTC

Apache NiFi 1.13.0 through 2.2.0 includes the username and password used to authenticate with MongoDB in the NiFi provenance events that MongoDB components generate during processing. An authorized user with read access to the provenance events of those processors may see the credentials information. Upgrading to Apache NiFi 2.3.0 is the recommended mitigation, which removes the credentials from provenance event records.

osv:CVE-2025-27017
Complete source record
{
  "id": "6f24ecc90e1b2b6f9605731b96bbd43a2ec8d6a396cbadc0587cf05b36132fb9",
  "url": "https://osv.dev/vulnerability/CVE-2025-27017",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Apache NiFi: Potential Insertion of MongoDB Password in Provenance Record",
    "summary": "Apache NiFi 1.13.0 through 2.2.0 includes the username and password used to authenticate with MongoDB in the NiFi provenance events that MongoDB components generate during processing. An authorized user with read access to the provenance events of those processors may see the credentials information. Upgrading to Apache NiFi 2.3.0 is the recommended mitigation, which removes the credentials from provenance event records.",
    "evidence": "osv:CVE-2025-27017",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-27017",
      "aliases": [
        "CVE-2025-27017",
        "GHSA-35gq-cvrm-xf94"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/S:P/AU:Y/R:U/V:C/RE:L/U:Green"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/nifi",
              "type": "GIT",
              "events": [
                {
                  "introduced": "3bc6a122091214b33eee17a270163d7ca26e2a0c"
                },
                {
                  "fixed": "3e629c2ee0428c88d7a05a3d0d131eed659def35"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apache:nifi:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.13.0"
                      },
                      {
                        "fixed": "2.3.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-27017.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:49.736190198Z",
      "provider": "osv",
      "references": [
        "https://repo.maven.apache.org/maven2",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/27xxx/CVE-2025-27017.json",
        "https://lists.apache.org/thread/d4n5474jkhp82dvnht13pjtlfx7bhn5q",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-27017"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-538"
        ],
        "cna_assigner": "apache",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.13.0"
                  },
                  {
                    "last_affected": "2.2.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/27xxx/CVE-2025-27017.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-27017",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 518151,
  "published_at": "2025-03-12T16:19:45.206+00:00"
}