CVE-2023-31139: DHIS2 Core contains the service layer and Web API for DHIS2, an information system for data capture
CVE-2023-31139 is a medium-severity flaw (CVSS 4.3) affecting dhis 2. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
DHIS2 Core contains the service layer and Web API for DHIS2, an information system for data capture. Starting in the 2.37 branch and prior to versions 2.37.9.1, 2.38.3.1, and 2.39.1.2, Personal Access Tokens (PATs) generate unrestricted session cookies. This may lead to a bypass of other access restrictions (for example, based on allowed IP addresses or HTTP methods). DHIS2 implementers should upgrade to a supported version of DHIS2: 2.37.9.1, 2.
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 4.3 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.6% (top 50%) |
| CISA exploited list | No |
| Weakness | CWE-613 |
| Published | 2023-05-09 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2023-31139?
dhis 2: upgrade to 2.37.9.1, 2.38.3.1, 2.39.1.2. Exact commands for each OS are on this page.
Is CVE-2023-31139 being exploited?
CVE-2023-31139 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2023-31139 affect?
CVE-2023-31139 affects dhis 2. Severity is medium (CVSS 4.3). DHIS2 Core contains the service layer and Web API for DHIS2, an information system for data capture. Starting in the 2.37 branch and prior to versions 2.37.9.1, 2.38.3.1, and 2.39.1.2, Personal Access Tokens (PATs) generate unrestricted ses
How urgent is CVE-2023-31139?
Priority 28/100. No elevated risk signals yet.
Related CVEs
- CVE-2023-32060 MEDIUM 6.5 UPGRADE DHIS2 Core contains the service layer and Web API for DHIS2, an information system for data capture
- CVE-2023-31138 HIGH 7.1 UPGRADE DHIS2 Core contains the service layer and Web API for DHIS2, an information system for data capture
- CVE-2022-41949 MEDIUM 5.0 UPGRADE DHIS 2 is an open source information system for data capture, management, validation, analytics and visualizat
- CVE-2022-41948 MEDIUM 6.7 UPGRADE DHIS 2 is an open source information system for data capture, management, validation, analytics and visualizat
- CVE-2022-41947 MEDIUM 5.4 UPGRADE DHIS 2 is an open source information system for data capture, management, validation, analytics and visualizat