dongjoon-hyun opened a new pull request, #819: URL: https://github.com/apache/spark-kubernetes-operator/pull/819
### What changes were proposed in this pull request? This PR aims to upgrade `Jackson` to 2.22.2 by pinning it explicitly in `gradle/libs.versions.toml` and forcing every `com.fasterxml.jackson*` artifact to that version in the root `build.gradle`, in the same way as `Netty` and `Hadoop`. The same rule is applied to the root `buildscript` classpath so that the Gradle plugins (`crd-generator-api-v2`, `cyclonedx`) use the same Jackson version as the modules. `jackson-annotations` is pinned separately to 2.22 because it uses a version scheme without a patch digit since Jackson 2.20 (2.22 is the version paired with 2.22.2 by `jackson-bom`). `gradle/verification-metadata.xml` was regenerated from scratch. ### Why are the changes needed? Previously, `Jackson` was a purely transitive dependency and resolved to 2.21.4 in the modules (via Apache Spark 4.2.0) and 2.22.1 in the plugin classpath. This PR pins it explicitly to a single version and brings the latest bug fixes and security fixes. - [Jackson 2.22](https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.22) (2026-05-31, [jackson-databind-2.22.0](https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-2.22.0)) - [Jackson 2.22.1](https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.22.1) (2026-07-07, [jackson-databind-2.22.1](https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-2.22.1)) - [CVE-2026-54515](https://github.com/FasterXML/jackson-databind/issues/5962): Case-insensitive deserialization may use wrong `@JsonIgnoreProperties` - [GHSA-mhm7-754m-9p8w](https://github.com/FasterXML/jackson-databind/pull/6054): Honor `@JsonView` for external-type-id (`EXTERNAL_PROPERTY`) properties - [CVE-2026-59889](https://github.com/FasterXML/jackson-databind/issues/6060): `@JsonView` by-passed for `@JsonUnwrapped` Field/Setter properties - Do not allow DNS resolution when deserializing `InetAddress` ([#6058](https://github.com/FasterXML/jackson-databind/pull/6058)) - [Jackson 2.22.2](https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.22.2) (2026-08-16, [jackson-databind-2.22.2](https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-2.22.2)) - [GHSA-2c4j-63jj-9fqr](https://github.com/FasterXML/jackson-core/pull/1642): Fix `maxDocumentLength` bypass in async parser single-`feedInput()` case - [CVE-2026-68498](https://github.com/FasterXML/jackson-core/pull/1643): Enforce `maxNameLength` incrementally in `ReaderBasedJsonParser` - [CVE-2026-68497](https://github.com/FasterXML/jackson-databind/pull/6127): Add `StreamReadConstraints` number length constraint to `javax.xml.datatype.GregorianCalendar` and `Duration` - [CVE-2026-19032](https://github.com/FasterXML/jackson-databind/pull/6129): Limit the supported URL schemes for `java.nio.file.Path` deserialization - [CVE-2026-83557](https://github.com/FasterXML/jackson-databind/issues/6156): Add `java.lang.Comparable` as an "unsafe" polymorphic base type - [GHSA-255r-36wv-4qpr](https://github.com/FasterXML/jackson-dataformats-text/issues/707): Constrain deeply nested YAML merge keys in `YAMLAnchorReplayingParser` - `YAMLAnchorReplayingParser` produces invalid sequence of events when using the merge operator inside an anchor ([#624](https://github.com/FasterXML/jackson-dataformats-text/issues/624)) - Enforce `StreamReadConstraints.maxNestingDepth` in `FromXmlParser` ([#891](https://github.com/FasterXML/jackson-dataformat-xml/pull/891)) - Validate length of input in `InstantDeserializer` ([#387](https://github.com/FasterXML/jackson-modules-java8/pull/387)) ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Fable 5.1 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
