CVE-2024-27317
Apache Pulsar: Pulsar Functions Worker's Archive Extraction Vulnerability Allows Unauthorized File Modification
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L
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.
Official description from the CVE record, published by apache. Copyright © 1999-2026 The MITRE Corporation. See /security/cve/legal for the CVE license. View the record on cve.org
Key data
CVSS 3.1 High 8.4
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L
Attack vector: Network
The vulnerable component can be reached over a network, possibly from the Internet.
Attack complexity: High
The attack depends on conditions outside the attacker's control, so it takes preparation.
Privileges required: Low
A basic user account is needed.
User interaction: None
No action from any user is needed.
Scope: Changed
The impact can reach other components beyond the vulnerable one.
Confidentiality impact: High
Serious or total effect on the secrecy of data.
Integrity impact: High
Serious or total effect on the trustworthiness of data.
Availability impact: Low
Limited effect on availability.
| Metric | Value | What it means |
|---|---|---|
| Attack vector | Network | The vulnerable component can be reached over a network, possibly from the Internet. |
| Attack complexity | High | The attack depends on conditions outside the attacker's control, so it takes preparation. |
| Privileges required | Low | A basic user account is needed. |
| User interaction | None | No action from any user is needed. |
| Scope | Changed | The impact can reach other components beyond the vulnerable one. |
| Confidentiality impact | High | Serious or total effect on the secrecy of data. |
| Integrity impact | High | Serious or total effect on the trustworthiness of data. |
| Availability impact | Low | Limited effect on availability. |
CVSS is owned and managed by FIRST.Org, Inc. (FIRST) and is used by permission. Each CVSS score on this site is shown together with its vector string, as published in the CVE record by the source named next to it. Learn more at first.org/cvss.
EPSS
- Score
- 0.56934 (56.9% probability)
- Percentile
- 99.1%
- Scores of
- Nov 10, 2026
- Model
- v2026.06.15
CISA assessment as of Aug 5, 2024
- Automatable
- no
- Technical impact
- total
Weakness (CWE)
- CWE-22Improper Limitation of a Pathname to a Restricted Directory
Affected products
Apache Pulsar
- affected: 2.4.0 up to before 2.10.6
- affected: 2.11.0 up to before 2.11.4
- affected: 3.0.0 up to before 3.0.3
- affected: 3.1.0 up to before 3.1.3
- affected: 3.2.0 up to before 3.2.1
References
Timeline
- ID reserved
- Record published
- Record last updated
Look up another CVE
About CubePath
Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 19:52 UTC. Sources and licenses