Apache Software Foundation Apache NiFi
Apache NiFi: Improper Escaping of Table Names in CaptureChangeMySQL
Improper escaping of database table names in the CaptureChangeMySQL Processor included with Apache NiFi 1.2.0 through 2.9.0 allows for injecting SQL commands using crafted naming. Manual quoted boundaries added in Apache NiFi 1.8.0 narrowed the scope of potential injection options, but did not cover additional strategies. Apache NiFi installations that do not use the CaptureChangeMySQL Processor are not subject to this vulnerability. Upgrading to Apache NiFi 2.10.0 is the recommended mitigation, which incorporates more robust identifier escaping.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- >= 1.2.0, <= 2.9.0
- >= 1.2.0, < 2.10.0
Fixed in 2.10.0
from GitHub Security Advisory GHSA-chxj-gxww-q98w
Mitigation
Upgrade org.apache.nifi:nifi-cdc-mysql-processors to 2.10.0 or later.
References
- Vendor advisory lists.apache.org/thread/c8vkt5rz4dqql6sjxgrr3zdkbt1s…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.