CVE-2023-31138

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-31138
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-31138.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-31138
Aliases
  • GHSA-pwvw-4m67-f4g2
Published
2023-05-09T14:11:11.868Z
Modified
2025-12-20T02:52:13.299668Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L CVSS Calculator
Summary
DHIS2 Core vulnerable to Improper Access Control with PATCH requests
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/31xxx/CVE-2023-31138.json",
    "cwe_ids": [
        "CWE-284",
        "CWE-863"
    ]
}
References

Affected packages

Git / github.com/dhis2/dhis2-core

Affected ranges

Type
GIT
Repo
https://github.com/dhis2/dhis2-core
Events
Database specific
{
    "versions": [
        {
            "introduced": "2.36"
        },
        {
            "fixed": "2.37.9.1"
        }
    ]
}
Type
GIT
Repo
https://github.com/dhis2/dhis2-core
Events
Database specific
{
    "versions": [
        {
            "introduced": "2.38"
        },
        {
            "fixed": "2.38.3.1"
        }
    ]
}
Type
GIT
Repo
https://github.com/dhis2/dhis2-core
Events
Database specific
{
    "versions": [
        {
            "introduced": "2.39"
        },
        {
            "fixed": "2.39.1.2"
        }
    ]
}

Database specific

source

"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-31138.json"