GHSA-xr8x-pxm6-prjg: Org.hl7.fhir.publisher Org.hl7.fhir.publisher` Vulnerability
CRITICALGHSA-xr8x-pxm6-prjg is a CRITICAL (CVSS 9.1) org.hl7.fhir.publisher` vulnerability (General Security Weakness) affecting Org.hl7.fhir.publisher libraries in the Maven ecosystem. The issue involves org.hl7.fhir.publisher`. Remediation is available by upgrading affected packages to version 1.2.30.
GHSA-xr8x-pxm6-prjg at a Glance
Security Impact
CVSS: 9.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H).
How to Fix GHSA-xr8x-pxm6-prjg
To remediate this vulnerability, upgrade all affected Org.hl7.fhir.publisher dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.hl7.fhir.publisher</groupId>
<artifactId>org.hl7.fhir.publisher</artifactId>
<version>1.2.30</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.hl7.fhir.publisher
How to Check if You Are Affected
To determine whether your Java application is affected by GHSA-xr8x-pxm6-prjg, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.hl7.fhir.publisher
Analyze the terminal output to locate any version of Org.hl7.fhir.publisher in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.2.30), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.hl7.fhir.publisher command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Org.hl7.fhir.publisher, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-xr8x-pxm6-prjg Affected Org.hl7.fhir.publisher Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.hl7.fhir.publisher:org.hl7.fhir.publisher
|
Maven |
< 1.2.30
|
1.2.30
|
References
Frequently Asked Questions
What is GHSA-xr8x-pxm6-prjg?
Which Org.hl7.fhir.publisher versions are affected?
What version fixes GHSA-xr8x-pxm6-prjg?
Is org.hl7.fhir.publisher affected?
What is the CVSS score of GHSA-xr8x-pxm6-prjg?
What CWE is associated with GHSA-xr8x-pxm6-prjg?
How can I check Maven dependencies for GHSA-xr8x-pxm6-prjg?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xr8x-pxm6-prjg",
"modified" : "2023-01-23T22:04:47Z",
"published" : "2023-01-23T22:04:47Z",
"aliases" : [ ],
"summary" : " MITM based Zip Slip in `org.hl7.fhir.publisher:org.hl7.fhir.publisher`",
"details" : "### Impact\nMITM can enable Zip-Slip.\n\n### Vulnerability\n\n#### Vulnerability 1: `Publisher.java`\n\nThere is no validation that the zip file being unpacked has entries that are not maliciously writing outside of the intended destination directory.\n\nhttps://github.com/HL7/fhir-ig-publisher/blob/87313e92de6dd6cea816449e0edd225e054a7891/org.hl7.fhir.publisher.core/src/main/java/org/hl7/fhir/igtools/publisher/Publisher.java#L3598-L3610\n\n#### Vulnerability 2: `WebSourceProvider.java`\n\nThere is a check for malicious zip entries here, but it is not covered by test cases and could potentially be reverted in future changes.\n\nhttps://github.com/HL7/fhir-ig-publisher/blob/87313e92de6dd6cea816449e0edd225e054a7891/org.hl7.fhir.publisher.core/src/main/java/org/hl7/fhir/igtools/web/WebSourceProvider.java#L104-L112\n\n#### Vulnerability 3: `ZipFetcher.java`\n\nThis 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.\n\nhttps://github.com/HL7/fhir-ig-publisher/blob/87313e92de6dd6cea816449e0edd225e054a7891/org.hl7.fhir.publisher.core/src/main/java/org/hl7/fhir/igtools/publisher/ZipFetcher.java#L57-L106\n\n#### Vulnerability 4: `IGPack2NpmConvertor.java`\n\nThe 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.\n\nhttps://github.com/HL7/fhir-ig-publisher/blob/87313e92de6dd6cea816449e0edd225e054a7891/org.hl7.fhir.publisher.core/src/main/java/org/hl7/fhir/igtools/publisher/IGPack2NpmConvertor.java#L442-L463\n\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.hl7.fhir.publisher:org.hl7.fhir.publisher"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.2.30"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/HL7/fhir-ig-publisher/security/advisories/GHSA-xr8x-pxm6-prjg"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/HL7/fhir-ig-publisher"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2023-01-23T22:04:47Z",
"nvd_published_at" : null
}
}