Skip to content

Commit

Permalink
Merge pull request #715 from grycap/devel
Browse files Browse the repository at this point in the history
Fix security error with xmlrpclib
  • Loading branch information
micafer authored Nov 15, 2018
2 parents 95c5413 + 532e3d4 commit 4acec20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions IM/connectors/OpenNebula.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
from xmlrpc.client import ServerProxy

import time
import defusedxml.xmlrpc
defusedxml.xmlrpc.monkey_patch()

from distutils.version import LooseVersion
from IM.xmlobject import XMLObject
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,5 @@
platforms=["any"],
install_requires=["ansible >= 2.0", "paramiko >= 1.14", "PyYAML", suds_pkg, sqlite_pkg, "cheroot",
"boto >= 2.29", "apache-libcloud >= 2.4.0", "RADL >= 1.1.1", "bottle", "netaddr",
"requests >= 2.19", "scp", "tosca-parser"]
"requests >= 2.19", "scp", "tosca-parser", 'defusedxml']
)

0 comments on commit 4acec20

Please sign in to comment.