Information Exposure Affecting org.hl7.fhir.publisher:org.hl7.fhir.publisher.cli package, versions [,1.8.9)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGHL7FHIRPUBLISHER-8663236
  • published26 Jan 2025
  • disclosed24 Jan 2025
  • creditUnknown

Introduced: 24 Jan 2025

NewCVE-2025-24363  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade org.hl7.fhir.publisher:org.hl7.fhir.publisher.cli to version 1.8.9 or higher.

Overview

Affected versions of this package are vulnerable to Information Exposure through the use of git commands to determine the URL of the originating repo. An attacker can expose sensitive user and credential information by exploiting the inclusion of the entire URL in the built Implementation Guide if it contains username and credential based URL.

Note: This vulnerability does not impact users that clone public repos without credentials, such as those using the auto-ig-build continuous integration infrastructure.

Workaround

If users can't upgrade to the fixed version, this vulnerability can be mitigated by ensuring the IG repo being published does not have a 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.

Another option is to run the IG Publisher CLI with the -repo parameter and specifying a URL that contains no username, password, or token.

References

CVSS Scores

version 4.0
version 3.1