{"api_version":"1","generated_at":"2026-07-22T03:09:21+00:00","cve":"CVE-2022-24848","urls":{"html":"https://cve.report/CVE-2022-24848","api":"https://cve.report/api/cve/CVE-2022-24848.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-24848","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-24848"},"summary":{"title":"CVE-2022-24848","description":"DHIS2 is an information system for data capture, management, validation, analytics and visualization. A SQL injection security vulnerability affects the `/api/programs/orgUnits?programs=` API endpoint in DHIS2 versions prior to 2.36.10.1 and 2.37.6.1. 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 and 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's database. Security patches are now available for DHIS2 versions 2.36.10.1 and 2.37.6.1. One may apply mitigations at the web proxy level as a workaround. More information about these mitigations is available in the GitHub Security Advisory.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-06-01 18:15:00","updated_at":"2022-06-08 18:44:00"},"problem_types":["CWE-89"],"metrics":[],"references":[{"url":"https://github.com/dhis2/dhis2-core/pull/10953","name":"https://github.com/dhis2/dhis2-core/pull/10953","refsource":"MISC","tags":[],"title":"fix: Merge pull request from GHSA-52vp-f7hj-cj92 by ameenhere · Pull Request #10953 · dhis2/dhis2-core · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/dhis2/dhis2-core/commit/3b245d04a58b78f0dc9bae8559f36ee4ca36dfac","name":"https://github.com/dhis2/dhis2-core/commit/3b245d04a58b78f0dc9bae8559f36ee4ca36dfac","refsource":"MISC","tags":[],"title":"Merge pull request from GHSA-52vp-f7hj-cj92 · dhis2/dhis2-core@3b245d0 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/dhis2/dhis2-core/commit/ef04483a9b177d62e48dcf4e498b302a11f95e7d","name":"https://github.com/dhis2/dhis2-core/commit/ef04483a9b177d62e48dcf4e498b302a11f95e7d","refsource":"MISC","tags":[],"title":"Merge pull request from GHSA-52vp-f7hj-cj92 · dhis2/dhis2-core@ef04483 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/dhis2/dhis2-core/security/advisories/GHSA-52vp-f7hj-cj92","name":"https://github.com/dhis2/dhis2-core/security/advisories/GHSA-52vp-f7hj-cj92","refsource":"CONFIRM","tags":[],"title":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in OrgUnit program association · Advisory · dhis2/dhis2-core · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-24848","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24848","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"24848","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"dhis2","cpe5":"dhis_2","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-24848","STATE":"PUBLIC","TITLE":"SQL Injection in DHIS2's in OrgUnit program association"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"dhis2-core","version":{"version_data":[{"version_value":"<= 2.36.10"},{"version_value":">= 2.37, <= 2.37.6"}]}}]},"vendor_name":"dhis2"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"DHIS2 is an information system for data capture, management, validation, analytics and visualization. A SQL injection security vulnerability affects the `/api/programs/orgUnits?programs=` API endpoint in DHIS2 versions prior to 2.36.10.1 and 2.37.6.1. 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 and 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's database. Security patches are now available for DHIS2 versions 2.36.10.1 and 2.37.6.1. One may apply mitigations at the web proxy level as a workaround. More information about these mitigations is available in the GitHub Security Advisory."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')"}]}]},"references":{"reference_data":[{"name":"https://github.com/dhis2/dhis2-core/security/advisories/GHSA-52vp-f7hj-cj92","refsource":"CONFIRM","url":"https://github.com/dhis2/dhis2-core/security/advisories/GHSA-52vp-f7hj-cj92"},{"name":"https://github.com/dhis2/dhis2-core/pull/10953","refsource":"MISC","url":"https://github.com/dhis2/dhis2-core/pull/10953"},{"name":"https://github.com/dhis2/dhis2-core/commit/3b245d04a58b78f0dc9bae8559f36ee4ca36dfac","refsource":"MISC","url":"https://github.com/dhis2/dhis2-core/commit/3b245d04a58b78f0dc9bae8559f36ee4ca36dfac"},{"name":"https://github.com/dhis2/dhis2-core/commit/ef04483a9b177d62e48dcf4e498b302a11f95e7d","refsource":"MISC","url":"https://github.com/dhis2/dhis2-core/commit/ef04483a9b177d62e48dcf4e498b302a11f95e7d"}]},"source":{"advisory":"GHSA-52vp-f7hj-cj92","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-06-01 18:15:00","lastModifiedDate":"2022-06-08 18:44:00","problem_types":["CWE-89"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.5},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:dhis2:dhis_2:*:*:*:*:*:*:*:*","versionStartIncluding":"2.37.0","versionEndExcluding":"2.37.6.1","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:dhis2:dhis_2:*:*:*:*:*:*:*:*","versionEndExcluding":"2.36.10.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2022","CveId":"24848","Ordinal":"228186","Title":"CVE-2022-24848","CVE":"CVE-2022-24848","Year":"2022"},"notes":[{"CveYear":"2022","CveId":"24848","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}