apache/nifi · Security
Apache NiFi: Potential Insertion of MongoDB Password in Provenance Record
- GHSA ID
- GHSA-35gq-cvrm-xf94
- CVE ID
- CVE-2025-27017
- Severity
- medium
- Published
- Updated
- CVSS
- 6.5 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- CVSS v3
- 6.5 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- CVSS v4
- 6.9 · 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
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.
CWEs
- CWE-538 · Insertion of Sensitive Information into Externally-Accessible File or Directory
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-27017 ↗
- https://lists.apache.org/thread/d4n5474jkhp82dvnht13pjtlfx7bhn5q ↗
- http://www.openwall.com/lists/oss-security/2025/03/11/1 ↗
- https://github.com/apache/nifi/commit/48d684500f6ad70f65bfd510db054590c5bc74a9 ↗
- https://issues.apache.org/jira/browse/NIFI-14272 ↗
- https://github.com/advisories/GHSA-35gq-cvrm-xf94 ↗