HL7 FHIR Partial Path Zip Slip due to bypass of CVE-2023-24057
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| ca.uhn.hapi.fhir:org.hl7.fhir.core Maven |
|
|
| ca.uhn.hapi.fhir:org.hl7.fhir.convertors Maven |
|
|
| ca.uhn.hapi.fhir:org.hl7.fhir.r4b |
| Product | Affected | Fixed in |
|---|---|---|
| ca.uhn.hapi.fhir:org.hl7.fhir.core Maven |
|
|
| ca.uhn.hapi.fhir:org.hl7.fhir.convertors Maven |
|
|
| ca.uhn.hapi.fhir:org.hl7.fhir.r4b |
|
|
| ca.uhn.hapi.fhir:org.hl7.fhir.r5 Maven |
|
|
| ca.uhn.hapi.fhir:org.hl7.fhir.utilities Maven |
|
|
| ca.uhn.hapi.fhir:org.hl7.fhir.validation Maven |
|
|
The package-decompression feature in HL7 (Health Level 7) FHIR Core Libraries before 5.6.106 allows attackers to copy arbitrary files to certain directories via directory traversal, if an allowed directory name is a substring of the directory name chosen by the attacker. NOTE: this issue exists because of an incomplete fix for CVE-2023-24057.
From the CVE record · mitre
The package-decompression feature in HL7 FHIR Core Libraries before 5.6.106 is vulnerable to directory traversal. An attacker can copy arbitrary files to certain directories if an allowed directory name is a substring of the directory name the attacker chooses. Network access, authentication, and user-interaction requirements are not specified.
Engineers using the listed ca.uhn.hapi.fhir Maven packages—org.hl7.fhir.core, org.hl7.fhir.convertors, org.hl7.fhir.r4b, org.hl7.fhir.r5, org.hl7.fhir.utilities, or org.hl7.fhir.validation—should check for versions before 5.6.106.