CVE-2023-31139
4.3medium
DHIS2 Core unrestricted session cookies with Personal Access Tokens
- Severity
- 4.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.63% (higher than 51% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
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.38.3.1, or 2.39.1.2. Implementers can work around this issue by adding extra access control validations on a reverse proxy.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| dhis2 dhis2-core | >= 2.37, < 2.37.9.1, >= 2.38, < 2.38.3.1, >= 2.39, < 2.39.1.2 | CVE List |
| dhis2 dhis_2 | from 2.37.0 before 2.37.9.1, from 2.38.0 before 2.38.3.1, from 2.39.0 before 2.39.1.2 | NVD |
All scores
| GitHub_M | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-31139 changed 2025-01-28 | CVE Terms of Use |
| NVD | CVE-2023-31139 changed 2026-06-17 | Public domain |