CVE-2024-46984 Gematik Referenzvalidator has an XXE vulnerability that can lead to a Server Side Request Forgery attack

High 8.6 Published Updated

Attackers can exploit insecure XML parsing defaults to trigger Server Side Request Forgery, potentially accessing internal network resources.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-46984?

CVE-2024-46984 is a high-severity vulnerability in gematik app-referencevalidator, published on 19 Sep 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The reference validator is a tool to perform advanced validation of FHIR resources for TI applications and interoperability standards. The profile location routine in the referencevalidator commons package is vulnerable to `XML External Entities` attack due to insecure defaults of the used Woodstox WstxInputFactory. A malicious XML resource can lead to network requests issued by referencevalidator and thus to a `Server Side Request Forgery` attack. The vulnerability impacts applications which use referencevalidator to process XML resources from untrusted sources. The problem has been patched with the 2.5.1 version of the referencevalidator. Users are strongly recommended to update to this version or a more recent one. A pre-processing or manual analysis of input XML resources on existence of DTD definitions or external entities can mitigate the problem.

Weakness: CWE-611

Which versions are affected by CVE-2024-46984?

2 open source packages ship an affected version, including de.gematik.refv.commons:commons. It affects 1 product.

PackageAffectedFixed in
de.gematik.refv.commons:commons MavenAll versions2.5.1
de.gematik.refv.commons:commons MavenAll versions2.5.1

Products include Gematik Reference Validator.

How do I fix CVE-2024-46984?

Upgrade de.gematik.refv.commons:commons to 2.5.1 or later.

Is CVE-2024-46984 being exploited?

There is no known exploitation of CVE-2024-46984 in the wild and no public exploit code.

Sources

Also known as GHSA-68j8-fp38-p48q.

Is CVE-2024-46984 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free