medium6.5
CVE-2025-27017
Apache NiFi: Potential Insertion of MongoDB Password in Provenance Record
Impact
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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.apache.nifi:nifi-mongodb-services | >= 1.13.0, < 2.3.0 | 2.3.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Apache | Nifi | from 1.13.0 before 2.3.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://lists.apache.org/thread/d4n5474jkhp82dvnht13pjtlfx7bhn5q
- http://www.openwall.com/lists/oss-security/2025/03/11/1
- https://github.com/advisories/GHSA-35gq-cvrm-xf94
- https://nvd.nist.gov/vuln/detail/CVE-2025-27017
- https://github.com/apache/nifi/commit/48d684500f6ad70f65bfd510db054590c5bc74a9
- https://issues.apache.org/jira/browse/NIFI-14272