GitHub Advisoryadvisory · Maven

GHSA-6729-95v3-pjc2 HL7 FHIR IG Publisher potentially exposes GitHub repo user and credential information

MEDIUM Published 2025-01-24 Modified 2025-01-24 Official page ↗
Aliases
CVE-2025-24363
Ecosystem
Maven
Packages
org.hl7.fhir.publisher:org.hl7.fhir.publisher.core, org.hl7.fhir.publisher:org.hl7.fhir.publisher.cli
Severity
Moderate
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
Weaknesses
CWE-200
Reviewed
2025-01-24

Affected packages

• Maven org.hl7.fhir.publisher:org.hl7.fhir.publisher.core: < 1.8.9 → fixed in 1.8.9 • Maven org.hl7.fhir.publisher:org.hl7.fhir.publisher.cli: < 1.8.9 → fixed in 1.8.9

Description

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

Related

Alias · CVE (1)

  • CVE-2025-24363 The HL7 FHIR IG publisher is a tool to take a set of inputs and create a standard FHIR IG. vulnerability

Weakness · CWE (1)

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness

References