Type confusion exists in ole_invoke and ole_query_interface methods of Ruby's WIN32OLE class
Type confusion exists in two methods of Ruby's WIN32OLE class, oleinvoke and olequeryinterface. Attacker passing different type of object than this assumed by developers can cause arbitrary code execution...