CVE-2025-24363: Org.hl7.fhir.publisher.core HL7 FHIR IG Publisher Potentially Vulnerability

MODERATE
Advisory Identifier: GHSA-6729-95v3-pjc2
CVSS 4.2
CWE-200
Published
Advisory Summary

CVE-2025-24363 is a MODERATE (CVSS 4.2) hl7 fhir ig publisher potentially vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Org.hl7.fhir.publisher.core libraries in the Maven ecosystem. The issue involves hl7 fhir ig publisher potentially exposes github repo user and credential information. Remediation is available by upgrading affected packages to version 1.8.9.

CVE-2025-24363 at a Glance

CVE Identifier CVE-2025-24363
GHSA Identifier GHSA-6729-95v3-pjc2
Severity MODERATE
CVSS v3.1 Base Score 4.2
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Org.hl7.fhir.publisher.core
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 4.2

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required High (PR:H)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2025-24363

To remediate this vulnerability, upgrade all affected Org.hl7.fhir.publisher.core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.hl7.fhir.publisher:org.hl7.fhir.publisher.core fixed: 1.8.9
<dependency>
    <groupId>org.hl7.fhir.publisher</groupId>
    <artifactId>org.hl7.fhir.publisher.core</artifactId>
    <version>1.8.9</version>
</dependency>
org.hl7.fhir.publisher:org.hl7.fhir.publisher.cli fixed: 1.8.9
<dependency>
    <groupId>org.hl7.fhir.publisher</groupId>
    <artifactId>org.hl7.fhir.publisher.cli</artifactId>
    <version>1.8.9</version>
</dependency>
Verify Direct and Transitive Dependencies

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 CVE-2025-24363, 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.core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.8.9), 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 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Org.hl7.fhir.publisher.core, 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

### Impact In CI contexts, the IG Publisher CLI uses git commands to determine the URL of the originating repo. If the repo was cloned, or otherwise set to use a repo that uses a username and credential based URL, the entire URL will be included in the built Implementation Guide, exposing username and credential. This does not impact users that clone public repos without credentials, such as those using the auto-ig-build continuous integration infrastructure. ### Patches This problem has been patched in release [1.8.9](https://github.com/HL7/fhir-ig-publisher/releases/tag/1.8.9) ### Workarounds Users should update to 1.8.9 or the latest release OR Users should ensure the IG repo they are publishing does not have username or credentials included in the `origin` URL. Running the command `git remote origin url` should return a URL that contains no username, password, or token. OR Users should run the IG Publisher CLI with the `-repo` parameter and specify a URL that contains no username, password, or token.

CVE-2025-24363 Affected Org.hl7.fhir.publisher.core Versions

2 component(s)
Fixed Versions:
1.8.9
Product / Package Ecosystem Affected Versions Fixed Version
org.hl7.fhir.publisher:org.hl7.fhir.publisher.core
Maven
< 1.8.9
1.8.9
org.hl7.fhir.publisher:org.hl7.fhir.publisher.cli
Maven
< 1.8.9
1.8.9

References

Frequently Asked Questions

What is CVE-2025-24363?
CVE-2025-24363 is a security vulnerability in Org.hl7.fhir.publisher.core involving HL7 FHIR IG Publisher potentially exposes GitHub repo user and credential information under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Org.hl7.fhir.publisher.core versions are affected?
Affected versions include releases prior to 1.8.9 across affected packages: org.hl7.fhir.publisher:org.hl7.fhir.publisher.core, org.hl7.fhir.publisher:org.hl7.fhir.publisher.cli.
What version fixes CVE-2025-24363?
Upgrading to 1.8.9 (or the latest patched release for your respective branch) resolves the vulnerability.
Is org.hl7.fhir.publisher.core affected?
Yes, org.hl7.fhir.publisher:org.hl7.fhir.publisher.core is affected in releases prior to 1.8.9. Upgrade your dependency to 1.8.9 or later.
Is org.hl7.fhir.publisher.cli affected?
Yes, org.hl7.fhir.publisher:org.hl7.fhir.publisher.cli is affected in releases prior to 1.8.9. Upgrade your dependency to 1.8.9 or later.
What is the CVSS score of CVE-2025-24363?
CVE-2025-24363 has a CVSS v3.1 base score of 4.2 (MODERATE) with vector string CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2025-24363?
CVE-2025-24363 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check Maven dependencies for CVE-2025-24363?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.hl7.fhir.publisher'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-6729-95v3-pjc2",
  "modified" : "2025-01-24T21:40:43Z",
  "published" : "2025-01-24T20:40:15Z",
  "aliases" : [ "CVE-2025-24363" ],
  "summary" : "HL7 FHIR IG Publisher potentially exposes GitHub repo user and credential information",
  "details" : "### Impact\nIn CI contexts, the IG Publisher CLI uses git commands to determine the URL of the originating repo. If the repo was cloned, or otherwise set to use a repo that uses a username and credential based URL, the entire URL will be included in the built Implementation Guide, exposing username and credential. This does not impact users that clone public repos without credentials, such as those using the auto-ig-build continuous integration infrastructure.\n\n### Patches\nThis problem has been patched in release [1.8.9](https://github.com/HL7/fhir-ig-publisher/releases/tag/1.8.9)\n\n### Workarounds\nUsers should update to 1.8.9 or the latest release \n\nOR \n\nUsers should ensure the IG repo they are publishing does not have username or credentials included in the `origin` URL. Running the command `git remote origin url` should return a URL that contains no username, password, or token.\n\nOR\n\nUsers should run the IG Publisher CLI with the `-repo` parameter and specify a URL that contains no username, password, or token.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.hl7.fhir.publisher:org.hl7.fhir.publisher.core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.8.9"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.hl7.fhir.publisher:org.hl7.fhir.publisher.cli"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.8.9"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/HL7/fhir-ig-publisher/security/advisories/GHSA-6729-95v3-pjc2"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-24363"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/HL7/fhir-ig-publisher/commit/d968694b7dd041640efab5414d7077d5028569f7"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/HL7/fhir-ig-publisher"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/HL7/fhir-ig-publisher/releases/tag/1.8.9"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-01-24T20:40:15Z",
    "nvd_published_at" : "2025-01-24T19:15:13Z"
  }
}