CVE-2024-27317
CVE-2024-27317 is a high-severity vulnerability in Apache Pulsar with a CVSS 3.x base score of 8.4. Its EPSS exploit-prediction score of 57% places it in the 99th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-22.
Key facts
- Severity: High (CVSS 3.x base score 8.4)
- EPSS exploit prediction: 57% (99th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-0948
- Weakness: CWE-22
- Affected product: Apache Pulsar
- Published:
- Last modified:
Description
In Pulsar Functions Worker, authenticated users can upload functions in jar or nar files. These files, essentially zip files, are extracted by the Functions Worker. However, if a malicious file is uploaded, it could exploit a directory traversal vulnerability. This occurs when the filenames in the zip files, which aren't properly validated, contain special elements like "..", altering the directory path. This could allow an attacker to create or modify files outside of the designated extraction directory, potentially influencing system behavior. This vulnerability also applies to the Pulsar Broker when it is configured with "functionsWorkerEnabled=true". This issue affects Apache Pulsar versions from 2.4.0 to 2.10.5, from 2.11.0 to 2.11.3, from 3.0.0 to 3.0.2, from 3.1.0 to 3.1.2, and 3.2.0. 2.10 Pulsar Function Worker users should upgrade to at least 2.10.6. 2.11 Pulsar Function Worker users should upgrade to at least 2.11.4. 3.0 Pulsar Function Worker users should upgrade to at least 3.0.3. 3.1 Pulsar Function Worker users should upgrade to at least 3.1.3. 3.2 Pulsar Function Worker users should upgrade to at least 3.2.1. Users operating versions prior to those listed above should upgrade to the aforementioned patched versions or newer versions.
Frequently asked questions
- What is CVE-2024-27317?
- In Pulsar Functions Worker, authenticated users can upload functions in jar or nar files. These files, essentially zip files, are extracted by the Functions Worker. However, if a malicious file is uploaded, it could exploit a directory traversal vulnerability. This occurs when the filenames in the zip files, which aren't properly validated, contain special elements like "..", altering the directory path. This could allow an attacker to create or modify files outside of the designated extraction directory, potentially influencing system behavior. This vulnerability also applies to the Pulsar Broker when it is configured with "functionsWorkerEnabled=true". This issue affects Apache Pulsar versions from 2.4.0 to 2.10.5, from 2.11.0 to 2.11.3, from 3.0.0 to 3.0.2, from 3.1.0 to 3.1.2, and 3.2.0. 2.10 Pulsar Function Worker users should upgrade to at least 2.10.6. 2.11 Pulsar Function Worker users should upgrade to at least 2.11.4. 3.0 Pulsar Function Worker users should upgrade to at least 3.0.3. 3.1 Pulsar Function Worker users should upgrade to at least 3.1.3. 3.2 Pulsar Function Worker users should upgrade to at least 3.2.1. Users operating versions prior to those listed above should upgrade to the aforementioned patched versions or newer versions.
- How severe is CVE-2024-27317?
- CVE-2024-27317 has a CVSS 3.x base score of 8.4, rated high severity. It is exploitable over network with high attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability low.
- Is CVE-2024-27317 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 57% (99th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-27317?
- CVE-2024-27317 primarily affects Apache Pulsar. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2024-27317?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2024-27317 have an EU (EUVD) identifier?
- Yes. CVE-2024-27317 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-0948.
- When was CVE-2024-27317 published?
- CVE-2024-27317 was published on 2024-03-12 and last updated on 2026-06-17.
References
- http://www.openwall.com/lists/oss-security/2024/03/12/10
- https://lists.apache.org/thread/ct9xmvlf7lompc1pxvlsb60qstfsm9po
- https://pulsar.apache.org/security/CVE-2024-27317/
Affected products (2)
- cpe:2.3:a:apache:pulsar:*:*:*:*:*:*:*:*
- cpe:2.3:a:apache:pulsar:3.2.0:-:*:*:*:*:*:*
More vulnerabilities in Apache Pulsar
- CVE-2021-22160 — Critical (CVSS 9.8): If Apache Pulsar is configured to authenticate clients using tokens based on JSON Web Tokens (JWT), the signature of…
- CVE-2023-30429 — Critical (CVSS 9.6): Incorrect Authorization vulnerability in Apache Software Foundation Apache Pulsar. This issue affects Apache Pulsar:…
- CVE-2024-27894 — High (CVSS 8.5): The Pulsar Functions Worker includes a capability that permits authenticated users to create functions where the…
- CVE-2024-27135 — High (CVSS 8.5): Improper input validation in the Pulsar Function Worker allows a malicious authenticated user to execute arbitrary Java…
- CVE-2022-34321 — High (CVSS 8.2): Improper Authentication vulnerability in Apache Pulsar Proxy allows an attacker to connect to the /proxy-stats endpoint…
- CVE-2023-37579 — High (CVSS 8.2): Incorrect Authorization vulnerability in Apache Software Foundation Apache Pulsar Function Worker. This issue affects…
All CVEs affecting Apache Pulsar →
Other CWE-22 (Path Traversal) vulnerabilities
- CVE-2026-48282 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Limitation of a Pathname to a Restricted…
- CVE-2026-54917 — Critical (CVSS 10.0): SeaweedFS is a distributed storage system for object storage (S3), file systems, and Iceberg tables. Prior to 4.30, the…
- CVE-2026-11429 — Critical (CVSS 10.0): Two endpoints in the Vault Service ScriptsController, shared by Altium Enterprise Server and Altium 365, accept file…
- CVE-2026-34909 — Critical (CVSS 10.0): A malicious actor with access to the network could exploit a Path Traversal vulnerability found in UniFi OS devices to…
- CVE-2026-7411 — Critical (CVSS 10.0): In Eclipse BaSyx Java Server SDK versions prior to 2.0.0-milestone-10, inadequate path normalization in the Submodel…
- CVE-2026-36767 — Critical (CVSS 10.0): A path traversal vulnerability in the /content/images/add endpoint of shopizer v3.2.5 allows attackers write arbitrary…