MEDIUM6.1
GHSA-4qq9-rrq6-48ff
Cross site scripting in org.apache.nifi:nifi
Quick fix
GHSA-4qq9-rrq6-48ff — org.apache.nifi:nifi: upgrade to the fixed version with the command below.
# pom.xml: bump <version>1.8.0</version> for org.apache.nifi:nifiDetails
The message-page.jsp error page used the value of the HTTP request header X-ProxyContextPath without sanitization, resulting in a reflected XSS attack. Mitigation: The fix to correctly parse and sanitize the request attribute value was applied on the Apache NiFi 1.8.0 release. Users running a prior 1.x release should upgrade to the appropriate release.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.apache.nifi:nifi
Introduced in:
1.0.0Fixed in: 1.8.0Fix
# pom.xml: bump <version>1.8.0</version> for org.apache.nifi:nifiReferences
- https://nvd.nist.gov/vuln/detail/CVE-2018-17193[ADVISORY]
- https://github.com/apache/nifi/commit/e62aa0252dfcf34dff0c3a9c51265b1d0f9dfc9f[WEB]
- https://github.com/advisories/GHSA-4qq9-rrq6-48ff[ADVISORY]
- https://github.com/apache/nifi[PACKAGE]
- https://issues.apache.org/jira/browse/NIFI-5442[WEB]
- https://nifi.apache.org/security.html#CVE-2018-17193[WEB]