CVE-2024-45477

Source
https://cve.org/CVERecord?id=CVE-2024-45477
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-45477.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-45477
Aliases
Published
2024-10-29T09:00:08.387Z
Modified
2026-07-11T03:55:32.011049393Z
Severity
  • 4.6 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N CVSS Calculator
Summary
Apache NiFi: Improper Neutralization of Input in Parameter Description
Details

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.

Database specific
{
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "introduced": "1.10.0"
                },
                {
                    "last_affected": "1.27.0"
                },
                {
                    "introduced": "2.0.0-M1"
                },
                {
                    "last_affected": "2.0.0-M3"
                }
            ]
        },
        {
            "source": "DESCRIPTION",
            "extracted_events": [
                {
                    "introduced": "1.10.0"
                },
                {
                    "fixed": "1.27.0"
                },
                {
                    "introduced": "2.0.0-M1"
                },
                {
                    "fixed": "2.0.0-M3"
                }
            ]
        }
    ],
    "cna_assigner": "apache",
    "cwe_ids": [
        "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45477.json"
}
References

Affected packages

Git / github.com/apache/nifi

Affected ranges

Type
GIT
Repo
https://github.com/apache/nifi
Events
Database specific
{
    "cpe": [
        "cpe:2.3:a:apache:nifi:*:*:*:*:*:*:*:*",
        "cpe:2.3:a:apache:nifi:2.0.0:milestone1:*:*:*:*:*:*",
        "cpe:2.3:a:apache:nifi:2.0.0:milestone2:*:*:*:*:*:*",
        "cpe:2.3:a:apache:nifi:2.0.0:milestone3:*:*:*:*:*:*"
    ],
    "source": [
        "CPE_RANGE",
        "CPE_STRING"
    ],
    "extracted_events": [
        {
            "introduced": "1.10.0"
        },
        {
            "last_affected": "1.27.0"
        },
        {
            "introduced": "2.0.0-milestone1"
        },
        {
            "last_affected": "2.0.0-milestone1"
        },
        {
            "introduced": "2.0.0-milestone2"
        },
        {
            "last_affected": "2.0.0-milestone2"
        },
        {
            "introduced": "2.0.0-milestone3"
        },
        {
            "last_affected": "2.0.0-milestone3"
        }
    ]
}

Affected versions

2.*
2.0.0-milestone1
2.0.0-milestone2
2.0.0-milestone3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-45477.json"