Bug 1763229 (CVE-2019-16935) - CVE-2019-16935 python: XSS vulnerability in the documentation XML-RPC server in server_title field
Summary: CVE-2019-16935 python: XSS vulnerability in the documentation XML-RPC server ...
Keywords:
Status: NEW
Alias: CVE-2019-16935
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: 1763231 1763230 1763232 1763233 1763234 1763235 1763236 1763237
Blocks: 1763239
TreeView+ depends on / blocked
 
Reported: 2019-10-18 14:24 UTC by kat
Modified: 2020-01-20 14:25 UTC (History)
18 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description kat 2019-10-18 14:24:20 UTC
The documentation XML-RPC server in various Python versions has XSS via the server_title field. This occurs in Lib/DocXMLRPCServer.py in Python 2.x, and in Lib/xmlrpc/server.py in Python 3.x. If set_server_title is called with untrusted input, arbitrary JavaScript can be delivered to clients that visit the http URL for this server.

Upstream bug:

https://bugs.python.org/issue38243

Upstream pull request and commits:

https://github.com/python/cpython/pull/16373

master: https://github.com/python/cpython/commit/e8650a4f8c7fb76f570d4ca9c1fbe44e91c8dfaa
3.6: https://github.com/python/cpython/commit/1698cacfb924d1df452e78d11a4bf81ae7777389
2.7: https://github.com/python/cpython/commit/8eb64155ff26823542ccf0225b3d57b6ae36ea89

Comment 1 kat 2019-10-18 14:24:48 UTC
Created python2 tracking bugs for this issue:

Affects: fedora-all [bug 1763232]


Created python3 tracking bugs for this issue:

Affects: fedora-all [bug 1763233]


Created python34 tracking bugs for this issue:

Affects: epel-all [bug 1763231]
Affects: fedora-all [bug 1763234]


Created python35 tracking bugs for this issue:

Affects: fedora-all [bug 1763235]


Created python36 tracking bugs for this issue:

Affects: epel-7 [bug 1763230]
Affects: fedora-all [bug 1763236]


Created python38 tracking bugs for this issue:

Affects: fedora-all [bug 1763237]


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