Directory Traversal Vulnerability in Apache Pulsar Functions Worker Could Allow Attacker to Modify Files Outside of Designated Extraction Directory

Patch this weekData theft and tampering over the network by a logged-in user.
8.4HIGH

Key Information:

Vendor

Apache

CVE ID
CVE ID:
CVE-2024-27317
Vendor
CVE Published:
12 March 2024
Fixed in
Fixed in:
2.10.6, 2.11.4, 3.0.3 +2 more

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but needs a login
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Patch this week

Exploitation is likely. Prioritise the fix.

What to do

1Update to a fixed version
Apache Pulsar 2.4.0 to below 2.10.6 is vulnerable
Apache Pulsar 2.11.0 to below 2.11.4 is vulnerable
Apache Pulsar 3.0.0 to below 3.0.3 is vulnerable
Apache Pulsar 3.1.0 to below 3.1.3 is vulnerable
Apache Pulsar 3.2.0 to below 3.2.1 is vulnerable

Install the Apache Pulsar release that fixes your version line, or later:

2.10.62.11.43.0.33.1.33.2.1
Read the vendor advisory โ†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Apache Pulsar. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Patch this week"
  • EPSS gives it a 37.5% chance of exploitation in the next 30 days.
  • Its CVSS severity is high (8.4).

What is CVE-2024-27317?

In the Apache Pulsar Functions Worker, authenticated users have the ability to upload functions using jar or nar files. These files are processed by the Functions Worker, which extracts their content. A vulnerability exists due to inadequate validation of filenames within the zip files, potentially allowing special path elements like '..' to be included. This oversight leads to a directory traversal vulnerability, where an attacker could craft a malicious upload that modifies or creates files in directories outside of the intended extraction path. Importantly, this vulnerability also impacts the Pulsar Broker when it is configured with the 'functionsWorkerEnabled=true' setting. Users operating on vulnerable versions are strongly advised to upgrade to the secure releases listed in the advisory to mitigate these risks.

References

Key Exchange Vulnerability in Apache Tomcat

CVE-2026-133325
ApacheApache Tomcat๐Ÿ˜„๐Ÿ‘พ9.8CRITICAL

Improper Exception Management in Apache Tomcat Affects Multiple Versions

CVE-2026-116561
ApacheApache Tomcat๐Ÿ˜„9.1CRITICAL

Deserialization Vulnerability in Apache Roller Affects Multiple Versions

CVE-2026-129448
ApacheApache Roller๐Ÿ˜„๐Ÿ‘พ9.8CRITICAL
View more Apache vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities ยท Report a correction

EPSS Score

37% chance of being exploited in the next 30 days.

CVSS V3.1

Score:
8.4
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
Low
User Interaction:
None
Scope:
Changed
.