GHSA-gg69-9wwp-6jx2
Spring for Apache Pulsar: JsonPulsarHeaderMapper Trusted-Package Prefix Check Allows Unintended Subpackage Deserialization
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.springframework.pulsar:spring-pulsar | >= 2.0.0, < 2.0.6 | 2.0.6 |
| Maven | org.springframework.pulsar:spring-pulsar | >= 1.2.0, < 1.2.18 | 1.2.18 |
| Maven | org.springframework.pulsar:spring-pulsar | <= 1.1.17 | no fix listed |
Details
As written in the advisory (Markdown source, shown as plain text).
JsonPulsarHeaderMapper matched type headers against trusted packages using a prefix check, meaning that trusting any package implicitly trusted all of its subpackages. Additionally, an empty trusted-packages configuration fell back to trusting all packages rather than applying a safe default allow-list.
Affected versions:
Spring for Apache Pulsar 2.0.0 through 2.0.5; 1.2.0 through 1.2.17; 1.1.0 through 1.1.17.
References
External links from the advisory. They lead to third-party sites.