Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-39179

DHIS 2 is an information system for data capture, management, validation, analytics and visualization. A SQL Injection vulnerability in the Tracker component in DHIS2 Server allows authenticated remote attackers to execute arbitrary SQL commands via unspecified vectors. This vulnerability affects the `/api/trackedEntityInstances` and `/api/trackedEntityInstances/query` API endpoints in all DHIS2 versions 2.34, 2.35, and 2.36. It also affects versions 2.32 and 2.33 which have reached _end of support_ - exceptional security updates have been added to the latest *end of support* builds for these versions. Versions 2.31 and older are unaffected. The system is vulnerable to attack only from users that are logged in to DHIS2, and there is no known way of exploiting the vulnerability without first being logged in as a DHIS2 user. The vulnerability is not exposed to a non-malicious user - the vulnerability requires a conscious attack to be exploited. A successful exploit of this vulnerability could allow the malicious user to read, edit and delete data in the DHIS2 instance. There are no known exploits of the security vulnerabilities addressed by these patch releases. Security patches are available in DHIS2 versions 2.32-EOS, 2.33-EOS, 2.34.7, 2.35.7, and 2.36.4. There is no straightforward known workaround for DHIS2 instances using the Tracker functionality other than upgrading the affected DHIS2 server to one of the patches in which this vulnerability has been fixed. For implementa

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-39179
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:52 UTC · Revision 1

Source evidence

CVE-2021-39179

core-osv · Original source

Published 29 Oct 2021, 14:15 UTC

DHIS 2 is an information system for data capture, management, validation, analytics and visualization. A SQL Injection vulnerability in the Tracker component in DHIS2 Server allows authenticated remote attackers to execute arbitrary SQL commands via unspecified vectors. This vulnerability affects the `/api/trackedEntityInstances` and `/api/trackedEntityInstances/query` API endpoints in all DHIS2 versions 2.34, 2.35, and 2.36. It also affects versions 2.32 and 2.33 which have reached _end of support_ - exceptional security updates have been added to the latest *end of support* builds for these versions. Versions 2.31 and older are unaffected. The system is vulnerable to attack only from users that are logged in to DHIS2, and there is no known way of exploiting the vulnerability without first being logged in as a DHIS2 user. The vulnerability is not exposed to a non-malicious user - the vulnerability requires a conscious attack to be exploited. A successful exploit of this vulnerability could allow the malicious user to read, edit and delete data in the DHIS2 instance. There are no known exploits of the security vulnerabilities addressed by these patch releases. Security patches are available in DHIS2 versions 2.32-EOS, 2.33-EOS, 2.34.7, 2.35.7, and 2.36.4. There is no straightforward known workaround for DHIS2 instances using the Tracker functionality other than upgrading the affected DHIS2 server to one of the patches in which this vulnerability has been fixed. For implementa

osv:CVE-2021-39179
Complete source record
{
  "id": "37d6effbd5f8aa70e5be400036b7d686ed44fe7d8d4ec7f846084090ebd6a13b",
  "url": "https://osv.dev/vulnerability/CVE-2021-39179",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-39179",
    "summary": "DHIS 2 is an information system for data capture, management, validation, analytics and visualization. A SQL Injection vulnerability in the Tracker component in DHIS2 Server allows authenticated remote attackers to execute arbitrary SQL commands via unspecified vectors. This vulnerability affects the `/api/trackedEntityInstances` and `/api/trackedEntityInstances/query` API endpoints in all DHIS2 versions 2.34, 2.35, and 2.36. It also affects versions 2.32 and 2.33 which have reached _end of support_ - exceptional security updates have been added to the latest *end of support* builds for these versions. Versions 2.31 and older are unaffected. The system is vulnerable to attack only from users that are logged in to DHIS2, and there is no known way of exploiting the vulnerability without first being logged in as a DHIS2 user. The vulnerability is not exposed to a non-malicious user - the vulnerability requires a conscious attack to be exploited. A successful exploit of this vulnerability could allow the malicious user to read, edit and delete data in the DHIS2 instance. There are no known exploits of the security vulnerabilities addressed by these patch releases. Security patches are available in DHIS2 versions 2.32-EOS, 2.33-EOS, 2.34.7, 2.35.7, and 2.36.4. There is no straightforward known workaround for DHIS2 instances using the Tracker functionality other than upgrading the affected DHIS2 server to one of the patches in which this vulnerability has been fixed. For implementa",
    "evidence": "osv:CVE-2021-39179",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-39179",
      "aliases": [
        "CVE-2021-39179",
        "GHSA-cmpc-frjv-rrmw"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/dhis2/dhis2-core",
              "type": "GIT",
              "events": [
                {
                  "introduced": "b90cf63e2cb04472311e3a84bce0d3f2dba3000a"
                },
                {
                  "last_affected": "4d5aeaf10f5efd2eea9091f7300ccb6f90b50485"
                },
                {
                  "introduced": "c49b03e16ce5d0bf3f9daf076eee8b747f135254"
                },
                {
                  "last_affected": "58094d2ef1b6d33d6d6e8f6423eda814c140a236"
                },
                {
                  "introduced": "4219a14c2b2ad021231a00b1c9607e5ab6e514fd"
                },
                {
                  "fixed": "fffe1f6656f20f1aef6d884cd26d0f35212cbc5d"
                },
                {
                  "introduced": "ca2700f132b825bc7e913dba53fd3e021d004031"
                },
                {
                  "fixed": "e28b1d33c0eb7309d19a4cf6e4e35c1f6007d477"
                },
                {
                  "fixed": "16674ac75127b0e83691c6b1c9ce745e67ab58b6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:dhis2:dhis_2:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.32.0"
                      },
                      {
                        "last_affected": "2.32.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:dhis2:dhis_2:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.33.0"
                      },
                      {
                        "last_affected": "2.33.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:dhis2:dhis_2:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.35.0"
                      },
                      {
                        "fixed": "2.35.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:dhis2:dhis_2:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.36.0"
                      },
                      {
                        "fixed": "2.36.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "16674ac75127b0e83691c6b1c9ce745e67ab58b6"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.33.9",
            "2.32.7",
            "2.33.0",
            "2.33.0-rc1",
            "2.33.0-FF",
            "2.32.1",
            "2.32.0",
            "2.32.0-FF"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-39179.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:52.938402495Z",
      "provider": "osv",
      "references": [
        "https://github.com/dhis2/dhis2-core/commit/16674ac75127b0e83691c6b1c9ce745e67ab58b6",
        "https://github.com/dhis2/dhis2-core/pull/8771",
        "https://github.com/dhis2/dhis2-core/security/advisories/GHSA-cmpc-frjv-rrmw"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-39179",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386357,
  "published_at": "2021-10-29T14:15:07.667+00:00"
}