WaratekVRT Sign in

CVE-2024-46984 reference validator

Affected softwarereference validator
Severity9.8 Critical CVSS 3.1 2 scores
Fixed in2.5.1
WeaknessXML external entity (XXE) (CWE-611)
Published19 Sep 2024
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 2 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 0.64% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

  • Protection full XXE
  • Action available security rule
  • Review automated Inferred
  • Record active
Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR xxe security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-611: XML External Entity Reference.
Candidate fix https://github.com/gematik/app-referencevalidator/security/advisories/GHSA-68j8-fp38-p48q : the maintainers' own security advisory: names the version that fixes it, so the fix is the difference between two releases

How to mitigate CVE-2024-46984

Upgrade reference validator to 2.5.1 or later. Until you can, Waratek RASP blocks exploitation with its XXE rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

9.8 CRITICAL v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 3.1 8.6 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N security-advisories@github.com Secondary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
de.gematik.refv.commons:commons 0 2.5.1 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
osv de.gematik.refv.commons commons generic < 2.5.1
nvd gematik reference validator generic < 2.5.1

References

URLTags
https://github.com/gematik/app-referencevalidator/security/advisories/GHSA-68j8-fp38-p48q advisory
https://github.com/gematik/app-referencevalidator/commit/d6d27613fab7a8dd08534946f29e0c51f319cad6 WEB
https://cheatsheetseries.owasp.org/cheatsheets/XML_External_Entity_Prevention_Cheat_Sheet.html#transformerfactory WEB
https://github.com/gematik/app-referencevalidator PACKAGE
https://github.com/gematik/app-referencevalidator/releases/tag/2.5.1 WEB
https://owasp.org/www-community/attacks/Server_Side_Request_Forgery WEB
https://owasp.org/www-project-top-ten/2017/A4_2017-XML_External_Entities_(XXE) WEB
https://owasp.org/www-project-top-ten/2017/A4_2017-XML_External_Entities_(XXE)# WEB

Timeline

Published2024-09-19By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.