Skip to content

fix(security): bound Jackson fallback cache for TFS bug 712021 - #162

Merged
alexgomezlf merged 6 commits into
v2from
devbot/veracode/sca-app-1791266-comp-5bc97c69-5880-48b2-aead-85df2b6ee5dd
Oct 15, 2026
Merged

alexgomezlf merged 6 commits into
v2from
devbot/veracode/sca-app-1791266-comp-5bc97c69-5880-48b2-aead-85df2b6ee5dd

Conversation

@dev-bot-laserfiche

@dev-bot-laserfiche dev-bot-laserfiche commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Description of changes: Fix the Jackson dependency findings tracked by TFS bugs 712021 (CVE-2026-91776) and 712022 (CVE-2026-91777), and update the publishing version requested by Alexandria Gomez on bug 712022.

The v2 client uses Jackson at runtime through TokenClientObjectMapper, so removing the dependency is not appropriate. The existing remediation raises the shared jackson-version property in pom.xml from 2.21.6 to 2.21.7, upgrading jackson-databind and jackson-core together within the repository's 2.21 LTS policy. jackson-annotations remains at its separately versioned 2.21. The bug identifies 2.21.7 as a fixed version for CVE-2026-91777; Maven Central confirms this artifact exists.

Four existing unit regressions exercise the actual mapper/model for bounded unknown-type caching, repeated IDs, overlong IDs, and preservation of known subtypes. These address the sibling finding CVE-2026-91776; they are not a reproduction of CVE-2026-91777's identity-enabled collection/map path.

Follow-up: update .github/workflows/main.yml VERSION_PREFIX from 1.0.4 to 1.0.5. Maven Central already lists client 1.0.4 as released. The publish-production-package job copies VERSION_PREFIX to PACKAGE_VERSION, applies it with mvn versions:set, and tags the release as v2-${PACKAGE_VERSION}. The POM's existing 1.0.0 development version is deliberately unchanged because the publishing workflow sets the release version. Move the Jackson fix into a new 1.0.5 changelog section while retaining the published 1.0.4 history. No publishing conditions, permissions, credentials, or integration tests were changed.

Verification: the follow-up YAML parses successfully and differs structurally from the previous workflow only in VERSION_PREFIX; checks confirm the publication-version flow and matching changelog section. git diff --check passes. The rendered PR contains exactly the intended four files, with no unexpected additions or deletions.

Hosted CI on follow-up commit 198b89c: the build, all 29 unit tests, and both CodeQL analyses pass. build-n-test and integration-test-results-cloud remain red in https://github.com/Laserfiche/lf-repository-api-client-java/actions/runs/37624975249: three search assertions fail and six entry-fixture tests return missing-entry errors (9001). These same nine failures occur on unchanged v2 baseline commit 8218848 in https://github.com/Laserfiche/lf-repository-api-client-java/actions/runs/36905581252, before this change. No unrelated integration-test or environment fixes are included. Documentation and publishing jobs are skipped; publishing was not invoked.

Work item links

Upgrade Jackson databind/core to 2.21.7 within the existing LTS line to
bound the polymorphic fallback type-ID cache (CVE-2026-91776).
Add regression coverage with the actual client mapper and Entry model.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

unit-test-results

29 tests  +4   29 ✅ +4   0s ⏱️ ±0s
 4 suites +1    0 💤 ±0 
 4 files   +1    0 ❌ ±0 

Results for commit 526ac2b. ± Comparison against base commit 8218848.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

integration-test-results-cloud

77 tests  ±0   76 ✅ +10   2m 35s ⏱️ -35s
16 suites ±0    1 💤 ± 0 
16 files   ±0    0 ❌  -  3 

Results for commit 526ac2b. ± Comparison against base commit 8218848.

♻️ This comment has been updated with latest results.

dev-bot-laserfiche and others added 5 commits October 7, 2026 12:58
Update the publishing workflow and changelog as requested by Alexandria Gomez.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@alexgomezlf
alexgomezlf merged commit 6b81263 into v2 Oct 15, 2026
9 checks passed
@alexgomezlf
alexgomezlf deleted the devbot/veracode/sca-app-1791266-comp-5bc97c69-5880-48b2-aead-85df2b6ee5dd branch October 15, 2026 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants