BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2024-27317 in Apache Pulsar

Critical 9.9

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 a...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.19.9
EPSS37.5%
EPSS percentile99th
FixSee advisory

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Apache Pulsar ≥ 2.4.0, < 2.10.6 ≥ 2.11.0, < 2.11.4 ≥ 3.0.0, < 3.0.3 ≥ 3.1.0, < 3.1.3 ≥ 3.2.0, < 3.2.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-27317
BreachSpider IDBS-2024-GLOBAL-205671-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Published2024-03-12
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-22: Path Traversal

Attacker manipulates file path inputs to access files outside the intended directory.

Related attack patterns (CAPEC)

CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-22

CAPEC-76 Manipulating Web Input to File System Calls via CWE-22

CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-22

CAPEC-79 Using Slashes in Alternate Encoding via CWE-22

CAPEC-126 Path Traversal via CWE-22

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A directory traversal vulnerability in Pulsar Functions Worker allows authenticated users to upload malicious jar or nar files, which can lead to unauthorized file access or manipulation.

Authenticated users can upload specially crafted zip files containing directory traversal sequences (e.g., '..') in the filenames. These files are then extracted by the Functions Worker, potentially allowing the attacker to write files to arbitrary directories on the server.

Questions

What is CVE-2024-27317?

A directory traversal vulnerability in Pulsar Functions Worker allows authenticated users to upload malicious jar or nar files, which can lead to unauthorized file access or manipulation.

What is the CVSS score for CVE-2024-27317?

CVE-2024-27317 has CVSS 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H. EPSS: 37.5%.

Is CVE-2024-27317 actively exploited?

No confirmed active exploitation of CVE-2024-27317 as of 2026-09-25.

How do I remediate CVE-2024-27317?

Priority: IMMEDIATE. Advisory: https://lists.apache.org/thread/ct9xmvlf7lompc1pxvlsb60qstfsm9po PSIRT: [email protected]

What systems are affected by CVE-2024-27317?

CVE-2024-27317 affects Apache Pulsar.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Apache","product":"Pulsar","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.