Vulnerability · Published Jan 24, 2025 · Assigned by GitHub_M
CVE-2025-24363The HL7 FHIR IG publisher may potentially expose GitHub repo user and credential information
Medium 4.2
In plain English
A medium-severity information exposure in fhir-ig-publisher from HL7. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
The HL7 FHIR IG publisher is a tool to take a set of inputs and create a standard FHIR IG. Prior to version 1.8.9, 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. This problem has been patched in release 1.8.9. Some workarounds are available. 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.hl7.fhir.publisher:org.hl7.fhir.publisher.cli | 1.8.9 | GHSA-6729-95v3-pjc2 |
| Maven | org.hl7.fhir.publisher:org.hl7.fhir.publisher.core | 1.8.9 | GHSA-6729-95v3-pjc2 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| HL7 | fhir-ig-publisher | < 1.8.9 |
Weakness: CWE-200 · Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N