The Pulsar Functions Worker provides a REST API endpoint for triggering a function, which...
影響パッケージ
| 種類 | パッケージ | 影響を受ける版 | 直った版 |
|---|---|---|---|
| Apache Software Foundation | Apache Pulsar |
2.0.0-rc1-incubating 以上 4.0.14 未満 4.1.0 以上 4.2.5 未満 |
4.0.14 4.2.5 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
The Pulsar Functions Worker provides a REST API endpoint for triggering a function, which publishes a caller-supplied value to one of the function's configured input topics. The Functions Worker performs this publish with its own broker client, which authenticates with the Worker's configured broker-client credentials rather than the credentials of the API caller.
When authorization is enabled, in Apache Pulsar 2.4.0 and later versions, the trigger endpoint checks only that the caller is authorized to perform function operations in the function's namespace. It does not check that the caller is authorized to produce to the input topic that the message is published to. Versions before 2.4.0 do not perform a caller authorization check for the trigger endpoint at all. Function input topics are not restricted to the function's own tenant or namespace, and registering a function does not require produce permission on its input topics.
As a result, an authenticated user who is authorized to manage functions in a namespace, for example a role granted the functions permission on that namespace, can cause the Functions Worker to publish messages with caller-controlled content to a topic that the user is not authorized to produce to, including topics in other tenants. These messages are published under the identity of the Functions Worker. The issue does not require any function instance to be running or any function code to be executed. It requires that the Functions Worker's broker-…
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- web security@apache.org
- web lists.apache.org
- web nvd.nist.gov
- web pulsar.apache.org
- web github.com