CVE-2024-46984 json
XML External Entity Reference (XXE) vulnerability can lead to a Server Side Request Forgery attack in gematik app-referencevalidator
published 2024-09-19 2 y ago modified 2026-06-17 4 mo ago also GHSA-68j8-fp38-p48q , EUVD-2024-2731
- cvss
- 8.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 50%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven de.gematik.refv.commons:commons 2.5.1
- gematik app-referencevalidator 2.5.1
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.64% chance of exploitation in the next 30 days, higher than 50% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | de.gematik.refv.commons:commons | <2.5.1 |
2.5.1 |
Affected products
- gematik app-referencevalidator
Classification
- Weakness
-
- CWE-611 Improper Restriction of XML External Entity Reference
References
-
github.com
/gematik/app-referencevalidator/commit/d6d27613fab7a8dd08534946f29e0c51f319cad6
web
-
github.com
/gematik/app-referencevalidator/security/advisories/GHSA-68j8-fp38-p48q
web, vendor-advisory
-
cheatsheetseries.owasp.org
/cheatsheets/XML_External_Entity_Prevention_Cheat_Sheet.html#transformerfactory
web, technical-description
-
github.com
/gematik/app-referencevalidator/releases/tag/2.5.1
web, release-notes
-
owasp.org
/www-community/attacks/Server_Side_Request_Forgery
web, technical-description
-
owasp.org
/www-project-top-ten/2017/A4_2017-XML_External_Entities_(XXE)
web, technical-description
-
owasp.org
/www-project-top-ten/2017/A4_2017-XML_External_Entities_(XXE)#
web, technical-description
-
nvd.nist.gov
/vuln/detail/CVE-2024-46984
advisory
-
github.com
/gematik/app-referencevalidator
package
Sources
- CVE List CVE-2024-46984
- GitHub Advisory GHSA-68j8-fp38-p48q
- NVD CVE-2024-46984
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.