Update patched Jackson dependencies - #460
Closed
ryanduguid wants to merge 2 commits into
Closed
Conversation
ryanduguid
marked this pull request as ready for review
August 18, 2026 15:06
jackson-databind 2.18.9 is not the current patched 2.18.x release.
2.18.10 (15-Aug-2026) adds the fixes for CVE-2026-68497 (databind#6127,
StreamReadConstraints number-length limits for XMLGregorianCalendar and
Duration), CVE-2026-19032 (databind#6129, URL scheme allowlist for
java.nio.file.Path deserialization) and GHSA-gx83-3vf8-gh7j (databind#6156,
java.lang.Comparable added to the unsafe polymorphic base types).
jackson-core was left at 2.18.8, which omits two 2.18.10 fixes:
GHSA-2c4j-63jj-9fqr (core#1642, maxDocumentLength bypass in the async parser
single-feedInput() case) and CVE-2026-68498 (core#1643, maxNameLength now
enforced incrementally in ReaderBasedJsonParser). ApiClient
.createDefaultObjectMapper() does not configure StreamReadConstraints, so it
relies on StreamReadConstraints.DEFAULT_MAX_NAME_LEN (50_000). Before
core#1643 that limit was only checked after the name buffer had been
accumulated, so an oversized property name in an API response was buffered
in full rather than raising StreamConstraintsException.
The two properties also sat at different patch levels, so jackson-databind
2.18.9 requested jackson-core and jackson-annotations at 2.18.9 (jackson-bom
2.18.9 sets jackson.version.core and jackson.version.annotations to
${jackson.version}) while this POM pinned them at 2.18.8. A downstream build
running maven-enforcer-plugin requireUpperBoundDeps failed on that, because
the transitive request was higher than the resolved version. All three
artifacts now resolve to 2.18.10.
jackson-datatype-threetenbp is moved 2.15.2 -> 2.18.2, the newest published
release of that artifact, so ThreeTenModule is no longer a 2.15.2 build
registered into a 2.18.x databind. Its only use here is the no-arg
constructor, unchanged between the two versions.
Author
|
Closing this as part of cleaning up an unsolicited batch I opened across several Xero repositories. I will not reopen unless a maintainer asks for a single focused change. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
jackson-coreandjackson-annotationsfrom 2.18.0 to 2.18.8jackson-databindfrom 2.18.0 to 2.18.9Validation
XeroExceptionsTest: 13 tests, 0 failures/errorsgit diff --checkThe PR remains draft pending exact-head hosted validation with the repository's normal mock-service setup.