Overview
OpenMRS is a patient-based medical record system focusing on giving providers a free customizable electronic medical record system. Affected versions are subject to arbitrary file exfiltration due to failure to sanitize request when satisfying GET requests for `/images` & `/initfilter/scripts`. This can allow an attacker to access any file on a system running OpenMRS that is accessible to the user id OpenMRS is running under. Affected implementations should update to the latest patch version of OpenMRS Core for the minor version they use. These are: 2.1.5, 2.2.1, 2.3.5, 2.4.5 and 2.5.3. As a general rule, this vulnerability is already mitigated by Tomcat's URL normalization in Tomcat 7.0.28+. Users on older versions of Tomcat should consider upgrading their Tomcat instance as well as their OpenMRS instance.
- Published
- 2/22/2022
- Last modified
- 6/17/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
openmrs openmrs | ≥ 1.6, < 2.1.5 | Verify advisory | Source |
openmrs openmrs | ≥ 2.2.0, < 2.2.1 | Verify advisory | Source |
openmrs openmrs | ≥ 2.3.0, < 2.3.5 | Verify advisory | Source |
openmrs openmrs | ≥ 2.4.0, < 2.4.5 | Verify advisory | Source |
openmrs openmrs | ≥ 2.5.0, < 2.5.3 | Verify advisory | Source |
openmrs-core openmrs | >= 1.6, < 2.1.5 | Verify advisory | Source |
openmrs-core openmrs | >= 2.2.0, < 2.2.1 | Verify advisory | Source |
openmrs-core openmrs | >= 2.3.0, < 2.3.5 | Verify advisory | Source |
openmrs-core openmrs | >= 2.4.0, < 2.4.5 | Verify advisory | Source |
openmrs-core openmrs | >= 2.5.0, < 2.5.3 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 7.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.