Description
Apache NiFi 1.10.0 through 1.26.0 and 2.0.0-M1 through 2.0.0-M3 support a description field in the Parameter Context configuration that is vulnerable to cross-site scripting. An authenticated user, authorized to configure a Parameter Context, can enter arbitrary JavaScript code, which the client browser will execute within the session context of the authenticated user. Upgrading to Apache NiFi 1.27.0 or 2.0.0-M4 is the recommended mitigation.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache NiFi | 1.10.0 – ≤ 1.26.0, 2.0.0-M1 – ≤ 2.0.0-M3 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | apache-nifi | 1.27.0-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.nifi:nifi-web-ui | >= 1.10.0, < 1.27.0 | 1.27.0 | GHSA-h658-qqv9-qwv8 |
| Maven | org.apache.nifi:nifi-web-ui | >= 2.0.0-M1, < 2.0.0-M4 | 2.0.0-M4 | GHSA-h658-qqv9-qwv8 |
Advisories 1
- WID-SEC-2024-1538 Apache Nifi: Schwachstelle ermöglicht Cross-Site Scripting BSI CERT-Bund (WID) · Jul 7, 2024
References
- https://lists.apache.org/thread/yso9fr0wtff53nk046h1o83hdyb1lrxh vendor-advisory