{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "2.0.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "ec86e543a6342c993bf2fcde66de5d3df8b2ba8a"
            }
          ],
          "repo": "https://github.com/librehealthio/lh-ehr",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "LibreHealthIO LH-EHR version REL-2.0.0 contains an Authenticated Unrestricted File Write vulnerability in Import template that can result in write files with malicious content and may lead to remote code execution.",
  "id": "CVE-2018-1000646",
  "modified": "2026-03-13T21:48:11.368901999Z",
  "published": "2018-08-20T19:31:41.043Z",
  "references": [
    {
      "type": "EVIDENCE",
      "url": "https://0dd.zone/2018/08/07/lh-ehr-Authenticated-File-Write/"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/LibreHealthIO/lh-ehr/issues/1211"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}