{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "5.0.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "35a67d11567419866d8aa9de0ae355676eeebede"
            }
          ],
          "repo": "https://github.com/openemr/openemr",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "OpenEMR through 5.0.2 has SQL Injection in the Lifestyle demographic filter criteria in library/clinical_rules.php that affects library/patient.inc.",
  "id": "CVE-2019-17197",
  "modified": "2026-03-13T21:54:48.211047141Z",
  "published": "2019-10-05T19:15:11.320Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/openemr/openemr/pull/2692"
    },
    {
      "type": "FIX",
      "url": "https://github.com/openemr/openemr/pull/2698/files"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}