CVE-2023-31138: DHIS2 Core vulnerable to Improper Access Control with PATCH requests

Published May 9, 2023
·
Updated

DHIS2 Core contains the service layer and Web API for DHIS2, an information system for data capture. Starting in the 2.36 branch and prior to versions 2.37.9.1, 2.38.3.1, and 2.39.1.2, using object model traversal in the payload of a PATCH request, authenticated users with write access to an object may be able to modify related objects that they should not have access to. DHIS2 implementers should upgrade to a supported version of DHIS2 to receive a patch: 2.37.9.1, 2.38.3.1, or 2.39.1.2. It is possible to work around this issue by blocking all PATCH requests on a reverse proxy, but this may cause some issues with the functionality of built-in applications using legacy PATCH requests.

Affected Software

3 affected components
DHIS2 DHIS 2>=2.36.0<2.37.9.1
DHIS2 DHIS 2>=2.38.0<2.38.3.1
DHIS2 DHIS 2>=2.39.0<2.39.1.2

Event History

May 9, 2023
CVE Published
via MITRE·02:11 PM
Data Sourced
via MITRE·02:11 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2023-31138?

CVE-2023-31138 has a medium severity rating due to its potential impact on authenticated users with write access.

2

How do I fix CVE-2023-31138?

To fix CVE-2023-31138, upgrade to DHIS2 versions 2.37.9.1, 2.38.3.1, or 2.39.1.2 or later.

3

Who is affected by CVE-2023-31138?

CVE-2023-31138 affects authenticated users of DHIS2 Core versions from 2.36 to versions prior to 2.37.9.1, 2.38.3.1, and 2.39.1.2.

4

What type of vulnerability is CVE-2023-31138?

CVE-2023-31138 represents a vulnerability in the service layer and Web API that allows for object model traversal via malicious PATCH requests.

5

What applications utilize CVE-2023-31138?

CVE-2023-31138 impacts the DHIS2 Core, an information system used for data capture and management.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203