Name | CVE-2019-16935 |
Description | The documentation XML-RPC server in Python through 2.7.16, 3.x through 3.6.9, and 3.7.x through 3.7.4 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2280-1, DLA-2628-1, ELA-239-1, ELA-598-1 |
Debian Bugs | 1027149 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
jython (PTS) | jessie, jessie (lts) | 2.5.3-3+deb8u1 | vulnerable |
| stretch (security), stretch (lts), stretch | 2.5.3-16+deb9u1 | vulnerable |
| buster | 2.7.1+repack1-4~deb10u1 | vulnerable |
| bullseye | 2.7.2+repack1-3 | vulnerable |
| sid, trixie, bookworm | 2.7.3+repack1-1 | fixed |
pypy (PTS) | jessie | 2.4.0+dfsg-3 | vulnerable |
| stretch | 5.6.0+dfsg-4 | vulnerable |
| buster | 7.0.0+dfsg-3 | vulnerable |
| bullseye | 7.3.3+dfsg-2 | fixed |
python2.7 (PTS) | jessie, jessie (lts) | 2.7.9-2-ds1-1+deb8u12 | fixed |
| stretch (security) | 2.7.13-2+deb9u6 | fixed |
| stretch (lts), stretch | 2.7.13-2+deb9u9 | fixed |
| buster (security), buster, buster (lts) | 2.7.16-2+deb10u4 | fixed |
| bullseye | 2.7.18-8+deb11u1 | fixed |
python3.4 (PTS) | jessie, jessie (lts) | 3.4.2-1+deb8u18 | fixed |
python3.5 (PTS) | stretch (security) | 3.5.3-1+deb9u5 | fixed |
| stretch (lts), stretch | 3.5.3-1+deb9u10 | fixed |
python3.7 (PTS) | buster, buster (lts) | 3.7.3-2+deb10u8 | fixed |
| buster (security) | 3.7.3-2+deb10u7 | fixed |
The information below is based on the following data on fixed versions.
Notes
[jessie] - python3.4 <ignored> (Minor Issue, XSS in an unlikely use-case)
[jessie] - python2.7 <ignored> (Minor Issue, XSS in an unlikely use-case)
[bullseye] - jython <ignored> (Minor Issue)
[buster] - jython <ignored> (Minor Issue)
[stretch] - jython <ignored> (Minor Issue)
[jessie] - jython <ignored> (Minor Issue, XSS in an unlikely use-case)
[buster] - pypy <ignored> (Minor issue)
[stretch] - pypy <no-dsa> (Minor issue)
[jessie] - pypy <postponed> (Minor Issue, XSS in an unlikely use-case)
https://bugs.python.org/issue38243
https://github.com/python/cpython/pull/16373
https://github.com/python/cpython/commit/e8650a4f8c7fb76f570d4ca9c1fbe44e91c8dfaa (master)
https://github.com/python/cpython/commit/6447b9f9bd27e1f6b04cef674dd3a7ab27bf4f28 (3.8 branch)
https://github.com/python/cpython/commit/39a0c7555530e31c6941a78da19b6a5b61170687 (3.7 branch)
https://github.com/python/cpython/commit/1698cacfb924d1df452e78d11a4bf81ae7777389 (3.6 branch)
https://github.com/python/cpython/commit/8eb64155ff26823542ccf0225b3d57b6ae36ea89 (2.7 branch)
[wheezy] - python2.7 <ignored> (Minor issue, XSS in an unlikely case)