MITM based Zip Slip in `org.hl7.fhir.publisher:org.hl7.fhir.publisher`GHSA-xr8x-pxm6-prjg
CRITICALGHSA-xr8x-pxm6-prjg is a critical-severity (CVSS 9.1) Path Traversal vulnerability in org.hl7.fhir.publisher:org.hl7.fhir.publisher. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for org.hl7.fhir.publisher:org.hl7.fhir.publisher — see the affected versions and patch details below.
Exploitation Status
Proof-of-concept exploit code exists
- CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
- A successful exploit gives an attacker total control of the affected component, not partial access.
Exploitation and automatability from CISA’s SSVC triage for GHSA-xr8x-pxm6-prjg.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.hl7.fhir.publisher:org.hl7.fhir.publisherReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Impact
MITM can enable Zip-Slip.
Vulnerability
Vulnerability 1: Publisher.java
There is no validation that the zip file being unpacked has entries that are not maliciously writing outside of the intended destination directory.
Vulnerability 2: WebSourceProvider.java
There is a check for malicious zip entries here, but it is not covered by test cases and could potentially be reverted in future changes.
Vulnerability 3: ZipFetcher.java
This retains the path for Zip files in FetchedFile entries, which could later be used to output malicious entries to another compressed file or file system.
Vulnerability 4: IGPack2NpmConvertor.java
The loadZip method retains the path for entries in the zip file, which could later be used to output malicious entries to another compressed file or file system.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.hl7.fhir.publisher:org.hl7.fhir.publisher | all versions | 1.2.30org.hl7.fhir.publisher:org.hl7.fhir.publisher:1.2.30 |
Affected Products
hl7 fhir corehapifhirfhir ig publisherhl7Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.hl7.fhir.publisher:org.hl7.fhir.publisher, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.hl7.fhir.publisher:org.hl7.fhir.publisher to 1.2.30 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-xr8x-pxm6-prjg is resolved across your whole dependency graph.
Workarounds
Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.
Frequently Asked Questions
Is GHSA-xr8x-pxm6-prjg in your dependencies?
Find it across Maven, including transitive dependencies.