Bug 1963985 - glances: Unsafe XML parsing
Summary: glances: Unsafe XML parsing
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1963986 1963987
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-24 14:16 UTC by Pedro Sampaio
Modified: 2021-05-24 17:32 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-24 17:32:09 UTC
Embargoed:


Attachments (Terms of Use)

Description Pedro Sampaio 2021-05-24 14:16:48 UTC
Bandit output:

Issue: [B411:blacklist] Using Fault to parse untrusted XML data is known to be vulnerable to XML attacks. Use defused.xmlrpc.monkey_patch() function to monkey-patch xmlrpclib and mitigate XML vulnerabilities.
Severity: High Confidence: High
Location: glances/compat.py:91
90 from SimpleXMLRPCServer import SimpleXMLRPCRequestHandler, SimpleXMLRPCServer
91 from xmlrpclib import Fault, ProtocolError, ServerProxy, Transport
92 from urllib2 import urlopen, URLError


References:

https://github.com/nicolargo/glances/issues/1025

Comment 1 Pedro Sampaio 2021-05-24 14:17:20 UTC
Created glances tracking bugs for this issue:

Affects: epel-all [bug 1963987]
Affects: fedora-all [bug 1963986]

Comment 2 Product Security DevOps Team 2021-05-24 17:32:09 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.