Skip to main content

Apache Pulsar Proxy target broker address isn't validated (CVE-2022-24280)


This issue affects Apache Pulsar 2.6 and earlier, 2.7, 2.8, 2.9.


Severity: important

Improper Input Validation vulnerability in Proxy component of Apache Pulsar allows an attacker to make TCP/IP connection attempts that originate from the Pulsar Proxy's IP address.

When the Apache Pulsar Proxy component is used, it is possible to attempt to open TCP/IP connections to any IP address and port that the Pulsar Proxy can connect to. An attacker could use this as a way for DoS attacks that originate from the Pulsar Proxy's IP address.

It hasn’t been detected that the Pulsar Proxy authentication can be bypassed. The attacker will have to have a valid token to a properly secured Pulsar Proxy.

This issue affects Apache Pulsar Proxy versions 2.7.0 to 2.7.4; 2.8.0 to 2.8.2; 2.9.0 to 2.9.1; 2.6.4 and earlier.

This issue has been assigned CVE-2022-24280.


To address the issue, upgraded versions of Apache Pulsar Proxy will only allow connections to known broker ports 6650 and 6651 by default. In addition, it is necessary to limit proxied broker connections further to known broker addresses by specifying brokerProxyAllowedHostNames and brokerProxyAllowedIPAddresses Pulsar Proxy settings. In Pulsar Helm chart deployments, the setting names should be prefixed with PULSAR_PREFIX_.

2.7 users should upgrade Pulsar Proxies to 2.7.5 and apply configuration changes.

2.8 users should upgrade Pulsar Proxies to at least 2.8.3 and apply configuration changes.

2.9 users should upgrade Pulsar Proxies to at least 2.9.2 and apply configuration changes.

2.10 users should apply configuration changes.

Any users running the Pulsar Proxy 2.6.4 and earlier should upgrade to one of the above patched versions and apply configuration changes.

Detailed configuration documentation and examples​

Please check Restricting target broker addresses to mitigate CVE-2022-24280 in the Apache Pulsar documentation for more details.


This issue was discovered by Lari Hotari of DataStax.

Security Advisories