Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Update
python3-openpyxl.7823
python-openpyxl-CVE-2017-5992.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-openpyxl-CVE-2017-5992.patch of Package python3-openpyxl.7823
Index: openpyxl-2.2.2/openpyxl/xml/functions.py =================================================================== --- openpyxl-2.2.2.orig/openpyxl/xml/functions.py +++ openpyxl-2.2.2/openpyxl/xml/functions.py @@ -30,9 +30,13 @@ if LXML is True: register_namespace, iterparse, QName, - xmlfile + xmlfile, + XMLParser, ) from xml.etree.cElementTree import iterparse + # do not resolve entities + safe_parser = XMLParser(resolve_entities=False) + fromstring = partial(fromstring, parser=safe_parser) else: try: from xml.etree.cElementTree import (
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor