oss-sec mailing list archives

CVE-2023-30429: Apache Pulsar: Incorrect Authorization for Function Worker when using mTLS Authentication through Pulsar Proxy


From: Dave Fisher <wave () apache org>
Date: Tue, 11 Jul 2023 15:49:33 +0000

Affected versions:

- Apache Pulsar before 2.10.4
- Apache Pulsar 2.11.0

Description:

Incorrect Authorization vulnerability in Apache Software Foundation Apache Pulsar.

This issue affects Apache Pulsar: before 2.10.4, and 2.11.0.

When a client connects to the Pulsar Function Worker via the Pulsar Proxy where the Pulsar Proxy uses mTLS 
authentication to authenticate with the Pulsar Function Worker, the Pulsar Function Worker incorrectly performs 
authorization by using the Proxy's role for authorization instead of the client's role, which can lead to privilege 
escalation, especially if the proxy is configured with a superuser role.

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.

Credit:

Michael Marshall of DataStax (finder)

References:

https://pulsar.apache.org/
https://www.cve.org/CVERecord?id=CVE-2023-30429


Current thread: