{"id":"CVE-2021-41843","details":"An authenticated SQL injection issue in the calendar search function of OpenEMR 6.0.0 before patch 3 allows an attacker to read data from all tables of the database via the parameter provider_id, as demonstrated by the /interface/main/calendar/index.php?module=PostCalendar&func=search URI.","modified":"2026-07-08T23:57:59.692532Z","published":"2021-12-17T04:15:38.810Z","references":[{"type":"EVIDENCE","url":"http://packetstormsecurity.com/files/165301/OpenEMR-6.0.0-6.1.0-dev-SQL-Injection.html"},{"type":"EVIDENCE","url":"http://seclists.org/fulldisclosure/2021/Dec/38"},{"type":"EVIDENCE","url":"https://trovent.github.io/security-advisories/TRSA-2109-01/TRSA-2109-01.txt"},{"type":"EVIDENCE","url":"https://trovent.io/security-advisory-2109-01"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openemr/openemr","events":[{"introduced":"4c3f9f5917d765f944cdbf3b9df15375476b3711"},{"last_affected":"d132c54f3509537c508fd40c08a27929b61cac1d"}],"database_specific":{"cpe":["cpe:2.3:a:open-emr:openemr:6.0.0:-:*:*:*:*:*:*","cpe:2.3:a:open-emr:openemr:6.0.0:patch_1:*:*:*:*:*:*","cpe:2.3:a:open-emr:openemr:6.0.0:patch_2:*:*:*:*:*:*"],"extracted_events":[{"introduced":"6.0.0-NA"},{"last_affected":"6.0.0-NA"},{"introduced":"6.0.0-patch_1"},{"last_affected":"6.0.0-patch_1"},{"introduced":"6.0.0-patch_2"},{"last_affected":"6.0.0-patch_2"}],"source":"CPE_STRING"}}],"versions":["6.0.0-NA","6.0.0-patch_1","6.0.0-patch_2","v6_0_0_2","v6_0_0_1","v6_0_0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-41843.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}