CVE-2019-12741
XSS exists in the HAPI FHIR testpage overlay module of the HAPI FHIR library before 3.8.0. The attack involves unsanitized HTTP parameters being output in a form page, allowing attackers to leak cookies and other sensitive information from ca/uhn/fhir/to/BaseController.java via a specially crafted URL. (This module is not generally used in production systems so the attack surface is expected to be low, but affected systems are recommended to upgrade immediately.)
What to do
Fixed builds are available from Alpine, Maven: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Alpine Linux 3.18 | nomad | Fixed | 0.9.6-r0 | ALPINE-CVE-2019-12741 |
| Alpine Linux 3.17 | nomad | Fixed | 0.9.6-r0 | ALPINE-CVE-2019-12741 |
| Alpine Linux 3.16 | nomad | Fixed | 0.9.6-r0 | ALPINE-CVE-2019-12741 |
| Alpine Linux 3.15 | nomad | Fixed | 0.9.6-r0 | ALPINE-CVE-2019-12741 |
| Alpine Linux 3.14 | nomad | Fixed | 0.9.6-r0 | ALPINE-CVE-2019-12741 |
| Alpine Linux 3.13 | nomad | Fixed | 0.9.6-r0 | ALPINE-CVE-2019-12741 |
| Maven library | ca.uhn.hapi.fhir:hapi-fhir-base | Fixed | 3.8.0 | GHSA-52mh-p2m2-w625 |
References
- https://github.com/jamesagnew/hapi-fhir/issues/1335
- https://github.com/jamesagnew/hapi-fhir/commit/8f41159eb147eeb964cad68b28eff97acac6ea9a
- https://github.com/jamesagnew/hapi-fhir/releases/tag/v3.8.0
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.