CVE-2024-27135

Apache Pulsar: Improper Input Validation in Pulsar Function Worker allows Remote Code Execution

State
Published
Severity
8.5 High
Published
Mar 12, 2024
Updated
Feb 13, 2025
Reserved
Feb 20, 2024

Read the record on cve.org

Description

Improper input validation in the Pulsar Function Worker allows a malicious authenticated user to execute arbitrary Java code on the Pulsar Function worker, outside of the sandboxes designated for running user-provided functions. 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.

Scores

CVSSScoreVectorSource
3.18.5 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:Hapache

Weaknesses

  • CWE-913 Improper Control of Dynamically-Managed Code Resources
  • CWE-20 Improper Input Validation

Affected Products

ProductVersions
Apache PulsarApache Software Foundation
  • 2.4.0 to before 2.10.6Affected
  • 2.11.0 to before 2.11.4Affected
  • 3.0.0 to before 3.0.3Affected
  • 3.1.0 to before 3.1.3Affected
  • 3.2.0 to before 3.2.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.