Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Maven
Not in CISA KEV
HIGH severity

CVE-2023-28465 org.hl7.fhir.core

HIGHFix: hapifhir/org.hl7.fhir.core#1162

CVE-2023-28465 is a high-severity (CVSS 7.5) Path Traversal vulnerability in ca.uhn.hapi.fhir:org.hl7.fhir.core. A fix is available for ca.uhn.hapi.fhir:org.hl7.fhir.core — see the affected versions and patch details below.

HL7 FHIR Partial Path Zip Slip due to bypass of CVE-2023-24057

Also known asGHSA-9654-pr4f-gh6m
Published
Dec 12, 2023
Updated
Aug 12, 2026
Affected
6 pkgs
Patched
6 / 6
Exploits
None indexed
Exploitation data as of Sep 22, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

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.

Exploitation and automatability from CISA’s SSVC triage for CVE-2023-28465.

EPSS Exploitation Probability

via FIRST.org ↗
1.3%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs69th percentile — riskier than 69% of all scored CVEsHighest risk

EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.

How urgent is this, really

CVE-2023-28465 plotted by exploitation likelihood (EPSS) against impact (CVSS). The shaded corner — EPSS 50%+ and CVSS 7.0+ — is where this CVE doesn't sit, though severity or exploitability alone can still warrant action.

Where this sits among everything scored

Of 378,156 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Real counts from FIRST.org, not a sample — log-scaled since the landscape is heavily right-skewed.

Real-World Exposure

6 pkgs affected
ca.uhn.hapi.fhir:org.hl7.fhir.coreca.uhn.hapi.fhir:org.hl7.fhir.convertorsca.uhn.hapi.fhir:org.hl7.fhir.r4bca.uhn.hapi.fhir:org.hl7.fhir.r5ca.uhn.hapi.fhir:org.hl7.fhir.utilitiesca.uhn.hapi.fhir:org.hl7.fhir.validation

Real-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

Zip Slip protections implemented in CVE-2023-24057 (GHSA-jqh6-9574-5x22) can be bypassed due a partial path traversal vulnerability.

This issue allows a malicious actor to potentially break out of the TerminologyCacheManager cache directory. The impact is limited to sibling directories.

To demonstrate the vulnerability, consider userControlled.getCanonicalPath().startsWith("/usr/out") will allow an attacker to access a directory with a name like /usr/outnot.

Why?

To demonstrate this vulnerability, consider "/usr/outnot".startsWith("/usr/out"). The check is bypassed although /outnot is not under the /out directory. It's important to understand that the terminating slash may be removed when using various String representations of the File object. For example, on Linux, println(new File("/var")) will print /var, but println(new File("/var", "/") will print /var/; however, println(new File("/var", "/").getCanonicalPath()) will print /var.

The Fix

Comparing paths with the java.nio.files.Path#startsWith will adequately protect againts this vulnerability.

For example: file.getCanonicalFile().toPath().startsWith(BASE_DIRECTORY) or file.getCanonicalFile().toPath().startsWith(BASE_DIRECTORY_FILE.getCanonicalFile().toPath())

Other Examples

Vulnerability

https://github.com/hapifhir/org.hl7.fhir.core/blob/b0daf666725fa14476d147522155af1e81922aac/org.hl7.fhir.r4b/src/main/java/org/hl7/fhir/r4b/terminologies/TerminologyCacheManager.java#L99-L105

While getAbsolutePath will return a normalized path, because the string path is not slash terminated, the guard can be bypassed to write the contents of the Zip file to a sibling directory of the cache directory.

Patches

All org.hl7.fhir.core libraries should be updated to 5.6.106.

Workarounds

Unknown

References

Affected Packages

6 total 6 fixed
EcosystemPackageVulnerable rangeFix
Mavenca.uhn.hapi.fhir:org.hl7.fhir.coreall versions5.6.106ca.uhn.hapi.fhir:org.hl7.fhir.core:5.6.106
Mavenca.uhn.hapi.fhir:org.hl7.fhir.convertorsall versions5.6.106ca.uhn.hapi.fhir:org.hl7.fhir.convertors:5.6.106
Mavenca.uhn.hapi.fhir:org.hl7.fhir.r4ball versions5.6.106ca.uhn.hapi.fhir:org.hl7.fhir.r4b:5.6.106
Mavenca.uhn.hapi.fhir:org.hl7.fhir.r5all versions5.6.106ca.uhn.hapi.fhir:org.hl7.fhir.r5:5.6.106
Mavenca.uhn.hapi.fhir:org.hl7.fhir.utilitiesall versions5.6.106ca.uhn.hapi.fhir:org.hl7.fhir.utilities:5.6.106
Mavenca.uhn.hapi.fhir:org.hl7.fhir.validationall versions5.6.106ca.uhn.hapi.fhir:org.hl7.fhir.validation:5.6.106

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for ca.uhn.hapi.fhir:org.hl7.fhir.core, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update ca.uhn.hapi.fhir:org.hl7.fhir.core to 5.6.106 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2023-28465 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like CVE-2023-28465 can be triaged on real exposure rather than presence alone.

Tailored to CVE-2023-28465. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

### Impact Zip Slip protections implemented in CVE-2023-24057 (GHSA-jqh6-9574-5x22) can be bypassed due a partial path traversal vulnerability. This issue allows a malicious actor to potentially break out of the `TerminologyCacheManager` cache directory. The impact is limited to sibling directories. To demonstrate the vulnerability, consider `userControlled.getCanonicalPath().startsWith("/usr/out")` will allow an attacker to access a directory with a name like `/usr/outnot`. ### Why? To demonstrate this vulnerability, consider `"/usr/outnot".startsWith("/usr/out")`. The check is bypassed
O3 Security · Impact-Aware SCA

Is CVE-2023-28465 in your dependencies?

O3 Security finds CVE-2023-28465 across Maven dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.

CVE-2023-28465: org.hl7.fhir (High 7.5) | O3 Security