{"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-04-10T03:55:01.948283Z","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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libexpat/libexpat","events":[{"introduced":"0"},{"last_affected":"c4446687cfc6c5fd7f6371aeaf24c69402a3589e"},{"introduced":"0"},{"last_affected":"7c3eedb20b287c5b3e026eaebf657e3c38981329"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"2.2.1"},{"introduced":"0"},{"last_affected":"2.2.2"}]}}],"versions":["REC1_0","R_1_95_0","R_1_95_2","R_1_95_3","R_1_95_4","R_1_95_5","R_1_95_6","R_1_95_7","R_1_95_8","R_2_0_0","R_2_0_1","R_2_1_0","R_2_1_1","R_2_2_0","R_2_2_1","R_2_2_2","V1990307","V19981122","V19981231","V19990109","V19990425","V19990626","V19990709","V19990728","V19991013","V1_0","V1_1","V20000512","beta2","beta3","beta4","jclark-orig","libexpat-alpha-1","sourceforge_init","start"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-11742.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}