CVE-2019-16935

NameCVE-2019-16935
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2280-1, DLA-2628-1, ELA-239-1, ELA-598-1
Debian Bugs1027149

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
jython (PTS)jessie, jessie (lts)2.5.3-3+deb8u1vulnerable
stretch (security), stretch (lts), stretch2.5.3-16+deb9u1vulnerable
buster2.7.1+repack1-4~deb10u1vulnerable
bullseye2.7.2+repack1-3vulnerable
sid, trixie, bookworm2.7.3+repack1-1fixed
pypy (PTS)jessie2.4.0+dfsg-3vulnerable
stretch5.6.0+dfsg-4vulnerable
buster7.0.0+dfsg-3vulnerable
bullseye7.3.3+dfsg-2fixed
python2.7 (PTS)jessie, jessie (lts)2.7.9-2-ds1-1+deb8u12fixed
stretch (security)2.7.13-2+deb9u6fixed
stretch (lts), stretch2.7.13-2+deb9u9fixed
buster (security), buster, buster (lts)2.7.16-2+deb10u4fixed
bullseye2.7.18-8+deb11u1fixed
python3.4 (PTS)jessie, jessie (lts)3.4.2-1+deb8u18fixed
python3.5 (PTS)stretch (security)3.5.3-1+deb9u5fixed
stretch (lts), stretch3.5.3-1+deb9u10fixed
python3.7 (PTS)buster, buster (lts)3.7.3-2+deb10u8fixed
buster (security)3.7.3-2+deb10u7fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
jythonsourcewheezy(unfixed)end-of-life
jythonsource(unstable)2.7.2+repack1-51027149
pypysourcewheezy(unfixed)end-of-life
pypysource(unstable)7.3.2+dfsg-1low
python2.7sourcejessie2.7.9-2-ds1-1+deb8u9ELA-598-1
python2.7sourcestretch2.7.13-2+deb9u5DLA-2628-1
python2.7sourcebuster2.7.16-2+deb10u1
python2.7source(unstable)2.7.17~rc1-1
python3.4sourcejessie3.4.2-1+deb8u8ELA-239-1
python3.4source(unstable)(unfixed)
python3.5sourcestretch3.5.3-1+deb9u2DLA-2280-1
python3.5source(unstable)(unfixed)
python3.7sourcebuster3.7.3-2+deb10u1
python3.7source(unstable)3.7.5~rc1-1
python3.8source(unstable)3.8.0~rc1-1

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)

Search for package or bug name: Reporting problems