CVE-2024-45477
Apache NiFi: Improper Neutralization of Input in Parameter Description
4.6
MEDIUM
CVSS 3.1
EPSS 0.65%
Description
Apache NiFi 1.10.0 through 1.27.0 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 higher is the recommended mitigation.
How to fix CVE-2024-45477
To remediate CVE-2024-45477, upgrade the affected package to a fixed version below.
- —upgrade to 1.28.0 or later
- —upgrade to 1.28.0 or later
Is CVE-2024-45477 being exploited?
Low — EPSS is 0.6%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- >= 1.10.0, < 1.28.0
- >= 1.10.0, < 1.28.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
| osv | CVSS 3.1 | MEDIUM4.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
References (9)
- ADVISORYnvd.nist.gov/vuln/detail/CVE-2024-45477
- PATCHgithub.com/apache/nifi
- WEBwww.openwall.com/lists/oss-security/2024/10/28/1
- WEBgithub.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.js#L2197