CVE-2024-27317 Apache Pulsar
| Affected software | Apache Pulsar |
|---|---|
| Severity | 9.9 Critical CVSS 3.1 2 scores |
| Fixed in | 2.10.6, 2.11.4, 3.0.3, 3.1.3, 3.2.1 |
| Weakness | Path traversal (CWE-22) |
| Published | 12 Mar 2024 |
| Updated | 17 Jun 2026 |
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.
Exploitation status
Forecast only (57% 30-day chance)
No exploit has been reported in the sources we check. EPSS puts this CVE in the top 0.92% of all scored CVEs. That is a model's forecast, not a report of exploitation.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment exploitation: none
- Indexed PoC none indexed
- EPSS 57% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99% of all scored CVEs.
Waratek protection
Waratek has a rule that blocks attacks on this vulnerability.
- Protection full Path traversal
- Action available security rule
- Review automated Inferred
- Record active
| Decided by | A vulnerability class already blocked by an ARMR security rule |
|---|---|
| Finding | Protected by Waratek's ARMR path-traversal security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-22: Path Traversal. |
How to mitigate CVE-2024-27317
Upgrade Apache Pulsar to a release that fixes it: 2.10.6, 2.11.4, 3.0.3, 3.1.3 or 3.2.1. Until you can, Waratek RASP blocks exploitation with its path traversal rule. It runs inside the Java application, with no code changes.
CVSS
9.9 CRITICAL
v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
2 metrics
CVSS
9.9 CRITICAL v3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
2 metrics
We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| CVSS 3.1 | 9.9 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
NVD | Primary | published |
| CVSS 3.1 | 8.4 | HIGH | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L |
security@apache.org | Secondary |
Affected software and releases
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.apache.pulsar:pulsar-functions-worker |
2.4.0 | 2.10.6 |
unbounded |
org.apache.pulsar:pulsar-functions-worker |
2.11.0 | 2.11.4 |
unbounded |
org.apache.pulsar:pulsar-functions-worker |
3.0.0 | 3.0.3 |
unbounded |
org.apache.pulsar:pulsar-functions-worker |
3.1.0 | 3.1.3 |
unbounded |
org.apache.pulsar:pulsar-functions-worker |
3.2.0 | 3.2.1 |
unbounded |
Products and versions
2 products, 10 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| nvd | apache | pulsar | generic | ≥ 2.4.0 and < 2.10.6 · ≥ 2.11.0 and < 2.11.4 · ≥ 3.0.0 and < 3.0.3 · ≥ 3.1.0 and < 3.1.3 · 3.2.0 |
| osv | org.apache.pulsar | pulsar-functions-worker | generic | ≥ 2.4.0 and < 2.10.6 · ≥ 2.11.0 and < 2.11.4 · ≥ 3.0.0 and < 3.0.3 · ≥ 3.1.0 and < 3.1.3 · ≥ 3.2.0 and < 3.2.1 |
References
Timeline
Timeline
| Published | 2024-03-12 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |