Vulnerability · Published Mar 12, 2025 · Assigned by apache
CVE-2025-27017Apache NiFi: Potential Insertion of MongoDB Password in Provenance Record
Medium 6.9
In plain English
A medium-severity security flaw in Apache NiFi from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 70% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.apache.nifi:nifi-mongodb-services | 2.3.0 | GHSA-35gq-cvrm-xf94 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache NiFi | 1.13.0 – through 2.2.0 |
Weakness: CWE-538 · Vector: 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