PT-2024-2612 · Apache · Apache Pulsar
Lari Hotari
·
Published
2024-03-12
·
Updated
2025-01-19
·
CVE-2024-27317
CVSS v3.1
9.9
Critical
| Vector | AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Apache Pulsar versions 2.4.0 through 2.10.5
Apache Pulsar versions 2.11.0 through 2.11.3
Apache Pulsar versions 3.0.0 through 3.0.2
Apache Pulsar versions 3.1.0 through 3.1.2
Apache Pulsar version 3.2.0
Description
The issue is related to a directory traversal vulnerability in Pulsar Functions Worker. Authenticated users can upload functions in jar or nar files, which are essentially zip files extracted by the Functions Worker. If a malicious file is uploaded, it could exploit this vulnerability due to improper validation of filenames in the zip files, potentially allowing an attacker to create or modify files outside the designated extraction directory and influence system behavior. This vulnerability also applies to the Pulsar Broker when configured with "functionsWorkerEnabled=true".
Recommendations
2.10 Pulsar Function Worker users should upgrade to at least version 2.10.6.
2.11 Pulsar Function Worker users should upgrade to at least version 2.11.4.
3.0 Pulsar Function Worker users should upgrade to at least version 3.0.3.
3.1 Pulsar Function Worker users should upgrade to at least version 3.1.3.
3.2 Pulsar Function Worker users should upgrade to at least version 3.2.1.
Users operating versions prior to those listed above should upgrade to the aforementioned patched versions or newer versions.
Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Apache Pulsar