Security readout for executives and security teams
Plain-English summary
A logged-in DHIS2 user could abuse a SQL injection flaw in affected DHIS2 Tracker API versions to read, change, or delete data. The issue is high urgency for organizations using DHIS2 2.34.4, 2.35.2-2.35.4, or 2.36.0, especially where sensitive health or program data is stored.
Executive priority
Treat as high priority if affected DHIS2 versions are in production. The business concern is not public unauthenticated compromise, but trusted-account misuse or account takeover leading to unauthorized access, modification, or deletion of DHIS2 data.
Technical view
CVE-2021-32704 is CWE-89 SQL injection in DHIS2 Core’s /api/trackedEntityInstances endpoint. Affected versions are 2.34.4, 2.35.2 through 2.35.4, and 2.36.0. Exploitation requires a logged-in DHIS2 user, has high confidentiality, integrity, and availability impact, and is scored CVSS 3.1 8.5.
Likely exposure
Exposure is limited to DHIS2 deployments running the affected versions and reachable by authenticated DHIS2 users. Deployments using Tracker functionality are most operationally relevant because the affected endpoint is part of that workflow. Earlier versions 2.34.3, 2.35.1, and 2.33 or older are reported unaffected.
Exploitation context
The provided sources state there is no known unauthenticated exploitation path and no known exploits for the addressed vulnerabilities. This CVE is not listed as KEV in the supplied bundle. Risk remains material because any valid DHIS2 account could become a path to serious data compromise.
Researcher notes
CVSS vector is AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H. The source bundle does not provide exploit mechanics, and none should be inferred. Scope validation should focus on version, Tracker usage, endpoint reachability, authenticated user population, and confirmation of the fixed branch release.
Mitigation direction
- Upgrade affected DHIS2 servers to the fixed patch release for the deployed branch.
- For Tracker deployments, do not rely on a workaround; prioritize the vendor patch.
- For non-Tracker deployments, temporarily block POST access to /api/trackedEntityInstance if upgrade is delayed.
- Review vendor advisory guidance before applying compensating controls.
- Limit DHIS2 accounts to users with a current business need.
Validation and detection
- Confirm the DHIS2 server version against the affected ranges.
- Determine whether Tracker functionality is enabled or operationally required.
- Verify the /api/trackedEntityInstances endpoint is not exposed unnecessarily to authenticated users.
- Confirm upgrade completion to 2.34.5, 2.35.5, 2.36.1, or later applicable releases.
- Check whether any temporary POST block was applied only where Tracker is unused.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-89: Database access and collection lookup
Injection into data stores can inform collection, data access, and exfiltration detection reviews. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupDatabase behavior lookup
The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
Open ATT&CK lookupCVE-2021-32704 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- High
- CVSS
- 8.5 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H1.86Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
8.5HighVector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/dhis2/dhis2-core/security/advisories/GHSA-fj38-585h-hxgjCVE reference · x_refsource_CONFIRM
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
