GitHub Advisory Database
GHSA-gg69-9wwp-6jx2
Spring for Apache Pulsar: JsonPulsarHeaderMapper Trusted-Package Prefix Check Allows Unintended Subpackage Deserialization
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.springframework.pulsar:spring-pulsar | From 2.0.0 before 2.0.6 (fixed in 2.0.6) |
| Maven | org.springframework.pulsar:spring-pulsar | From 1.2.0 before 1.2.18 (fixed in 1.2.18) |
| Maven | org.springframework.pulsar:spring-pulsar | All versions up to and including 1.1.17 |