{"id":"CVE-2017-11742","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.","modified":"2026-10-20T10:48:01.264100998Z","published":"2017-07-30T14:29:00.207Z","database_specific":{},"references":[{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/100147"},{"type":"FIX","url":"https://github.com/libexpat/libexpat/issues/82"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libexpat/libexpat","events":[{"introduced":"c4446687cfc6c5fd7f6371aeaf24c69402a3589e"},{"last_affected":"7c3eedb20b287c5b3e026eaebf657e3c38981329"}],"database_specific":{"extracted_events":[{"source":"CPE_STRING","cpe":"cpe:2.3:a:libexpat_project:libexpat:2.2.1:*:*:*:*:*:*:*","range":[{"introduced":"2.2.1"},{"last_affected":"2.2.1"}]},{"cpe":"cpe:2.3:a:libexpat_project:libexpat:2.2.2:*:*:*:*:*:*:*","range":[{"introduced":"2.2.2"},{"last_affected":"2.2.2"}],"source":"CPE_STRING"}]}}],"versions":["2.2.1","2.2.2","R_2_2_2","R_2_2_1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-11742.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}