{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "2.2.1"
              },
              {
                "introduced": "0"
              },
              {
                "last_affected": "2.2.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "c4446687cfc6c5fd7f6371aeaf24c69402a3589e"
            },
            {
              "introduced": "0"
            },
            {
              "last_affected": "7c3eedb20b287c5b3e026eaebf657e3c38981329"
            }
          ],
          "repo": "https://github.com/libexpat/libexpat",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "The writeRandomBytes_RtlGenRandom function in xmlparse.c in libexpat in Expat 2.2.1 and 2.2.2 on Windows allows local users to gain privileges via a Trojan horse ADVAPI32.DLL in the current working directory because of an untrusted search path, aka DLL hijacking.",
  "id": "CVE-2017-11742",
  "modified": "2026-03-13T21:53:24.405772607Z",
  "published": "2017-07-30T14:29:00.207Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "http://www.securityfocus.com/bid/100147"
    },
    {
      "type": "FIX",
      "url": "https://github.com/libexpat/libexpat/issues/82"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}