Moderate severityNVD Advisory· Published Oct 29, 2024· Updated Oct 29, 2024
Apache NiFi: Improper Neutralization of Input in Parameter Description
CVE-2024-45477
Description
Apache NiFi 1.10.0 through 1.27.0 and 2.0.0-M1 through 2.0.0-M3 support a description field for Parameters in a 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.28.0 or 2.0.0-M4 is the recommended mitigation.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.apache.nifi:nifi-web-uiMaven | >= 1.10.0, < 1.28.0 | 1.28.0 |
org.apache.nifi:nifi-web-uiMaven | >= 2.0.0-M1, < 2.0.0-M4 | 2.0.0-M4 |
Affected products
3- osv-coords2 versions
>= 1.10.0, < 1.28.0+ 1 more
- (no CPE)range: >= 1.10.0, < 1.28.0
- (no CPE)range: >= 1.10.0, < 1.28.0
Patches
Vulnerability mechanics
References
8- github.com/advisories/GHSA-7mqj-xgf8-p59vghsaADVISORY
- lists.apache.org/thread/shdv0tw9hggj7tx9pl7g93mgok2lwbj9ghsavendor-advisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2024-45477ghsaADVISORY
- github.com/apache/nifi/blob/rel/nifi-1.27.0/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-parameter-contexts.jsghsaWEB
- github.com/apache/nifi/commit/153c87a7daaeebea9b119066285b840ea4056e09ghsaWEB
- github.com/apache/nifi/pull/9195ghsaWEB
- issues.apache.org/jira/browse/NIFI-13675ghsaWEB
- nifi.apache.org/documentation/security/ghsaWEB
News mentions
0No linked articles in our index yet.