-
Notifications
You must be signed in to change notification settings - Fork 1
SNYK: Upgrade ca.uhn.hapi.fhir:hapi-fhir-caching-caffeine from 7.4.0 to 7.6.1 #1342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
seanmcilvenna
merged 5 commits into
dev
from
snyk-upgrade-7170125e99f3edeec68e2d321843a476
Jan 7, 2026
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
afc05a8
fix: upgrade ca.uhn.hapi.fhir:hapi-fhir-caching-caffeine from 7.4.0 t…
snyk-bot 664b88d
Merge branch 'dev' into snyk-upgrade-7170125e99f3edeec68e2d321843a476
seanmcilvenna a04f958
Merge branch 'dev' into snyk-upgrade-7170125e99f3edeec68e2d321843a476
seanmcilvenna 45ccb00
Merge branch 'dev' into snyk-upgrade-7170125e99f3edeec68e2d321843a476
seanmcilvenna 2e36448
Merge branch 'dev' into snyk-upgrade-7170125e99f3edeec68e2d321843a476
seanmcilvenna File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🌐 Web query:
HAPI FHIR 7.6.1 release notes changelog breaking changes💡 Result:
HAPI FHIR 7.6.1 (Despina) — release date: 2024-12-18. Breaking changes (summary):
Device membership in Patient Compartment: For FHIR < R5, the Device.patient search parameter is now treated as part of the Patient compartment. This affects Patient _revInclude=*, Patient instance/type $everything, automatic search narrowing, and Bulk Export (previous shims removed). [1]
FHIRPath PATCH semantics: PATCH operations that match multiple elements will no longer replace multiple values and will throw an exception (now aligned with the spec). [2]
Authorization / patient-compartment rules: Auth rules that grant access to resources in the patient compartment will no longer implicitly grant access to Group or List resources in that compartment; additional permissions are required. [2]
$export and $everything behavior: $export and $everything on Patient compartment (instance or type) will no longer return List or Group resources regardless of auth rules. [2]
Database / subscription-related change: HFJ_RESOURCE_MODIFIED table schema changes (affects zero-downtime upgrades; subscriptions must be healthy to avoid prolonged locks). This is noted as a breaking change. [2]
(References: HAPI FHIR changelog / 7.6.1 release notes.) [1] [2]
Sources:
[1] HAPI FHIR changelog — HAPI FHIR 7.6.1 (Despina) (release info).
[2] HAPI FHIR changelog — Breaking Changes (7.6.1).
🌐 Web query:
HAPI FHIR 7.4.0 to 7.6.1 XXE vulnerability security fix💡 Result:
Short answer: The XXE issues (multiple advisories/CVEs: e.g. CVE-2024-51132 / CVE-2024-52007 and related XXE reports) were fixed by upgrading the org.hl7.fhir.core / org.hl7.fhir.utilities components to 6.4.0. Any HAPI FHIR build that depends on org.hl7.fhir.core >= 6.4.0 includes that fix; versions that depend on older core artifacts remain vulnerable. (nvd.nist.gov)
What to do:
References:
If you want, tell me the exact HAPI 7.x artifact(s) (pom or jar) you’re using and I’ll check which org.hl7.fhir.core version they depend on.
Citations:
🏁 Script executed:
Repository: lantanagroup/link-cloud
Length of output: 183
🌐 Web query:
HAPI FHIR latest version January 2026💡 Result:
The latest stable HAPI FHIR release as of January 6, 2026 is HAPI FHIR 8.6.0 (released November 20, 2025). [1]
The HAPI FHIR docs site is currently showing documentation for 8.8.0 (and changelog entries for 8.8.0 exist), which appears to be a newer/TBD release on the docs site. [2]
Sources:
Version upgrade is outdated; address major breaking changes and provide required testing details.
The upgrade to 7.6.1 addresses XXE vulnerabilities (CVE-2024-51132, CVE-2024-52007) fixed in org.hl7.fhir.core 6.4.0+, but version 7.6.1 (released Dec 2024) is significantly outdated—HAPI FHIR 8.6.1 is currently available. Proceeding with 7.6.1 creates immediate technical debt requiring another major upgrade soon.
Critical breaking changes in 7.6.1 require comprehensive testing:
Per coding guidelines, all non-TECH_DEBT PRs must include testing information. Add to PR description:
Recommend: Either commit to comprehensive testing for 7.6.1's breaking changes and plan imminent 8.x migration, or evaluate jumping directly to 8.6.1 if major version compatibility allows.
🤖 Prompt for AI Agents