# CVE-2024-27135: Apache Pulsar: Improper Input Validation in Pulsar Function Worker allows Remote Code Execution

Source: https://junglewise.ai/threats/cve-2024-27135-apache-pulsar-improper-input-validation-in-pulsar-function-worker  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-03-12  
License: CC BY 4.0 with a link back

CVE-2024-27135 · Severity: low · CVSS 3.1 · Published 2024-03-12

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

Technologies: [org.apache.pulsar:pulsar-functions-worker (Maven)](https://junglewise.ai/threats/technologies/org-apache-pulsar-pulsar-functions-worker). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2024-27135 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-27135 being exploited in the wild.

**How severe is CVE-2024-27135?** Low severity, with a CVSS score of 3.1, published 12 March 2024.

**Which products and versions are affected?** org.apache.pulsar:pulsar-functions-worker (Maven) ECOSYSTEM:introduced=2.4.0,fixed=2.10.6.

**Is there a fix for CVE-2024-27135?** Yes. org.apache.pulsar:pulsar-functions-worker (Maven): upgrade to 2.10.6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-27135?** Check whether you run org.apache.pulsar:pulsar-functions-worker (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.apache.pulsar:pulsar-functions-worker (Maven): upgrade to 2.10.6 or later

  ```sh
  # set org.apache.pulsar:pulsar-functions-worker to 2.10.6 in your pom.xml or build.gradle
  ```


## Affected products

- org.apache.pulsar:pulsar-functions-worker (Maven) ECOSYSTEM:introduced=2.4.0,fixed=2.10.6

## Identifiers

- CVE-2024-27135
- GHSA-xp2r-g8qq-44hh

## Related threats

- [Apache Pulsar: Pulsar Functions Worker's Archive Extraction Vulnerability Allows Unauthorized File Modification](https://junglewise.ai/threats/cve-2024-27317-apache-pulsar-pulsar-functions-worker-s-archive-extraction)
- [Apache Pulsar: Pulsar Functions Worker Allows Unauthorized File Access and Unauthorized HTTP/HTTPS Proxying](https://junglewise.ai/threats/cve-2024-27894-apache-pulsar-pulsar-functions-worker-allows-unauthorized-file)
- [Apache Pulsar Function Worker Incorrect Authorization vulnerability](https://junglewise.ai/threats/cve-2023-37579-apache-pulsar-function-worker-incorrect-authorization)
