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, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium (attack range: remote)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
jython (PTS)jessie, jessie (security)2.5.3-3+deb8u1vulnerable
stretch, stretch (security)2.5.3-16+deb9u1vulnerable
buster2.7.1+repack1-4~deb10u1vulnerable
bullseye, sid2.7.1+repack1-4vulnerable
pypy (PTS)jessie2.4.0+dfsg-3vulnerable
stretch5.6.0+dfsg-4vulnerable
buster7.0.0+dfsg-3vulnerable
bullseye, sid7.1.1+dfsg-1vulnerable
python2.7 (PTS)jessie2.7.9-2+deb8u1vulnerable
jessie (security)2.7.9-2+deb8u5vulnerable
stretch, stretch (security)2.7.13-2+deb9u3vulnerable
buster2.7.16-2vulnerable
bullseye, sid2.7.17~rc1-1vulnerable
python3.4 (PTS)jessie3.4.2-1vulnerable
jessie (security)3.4.2-1+deb8u7vulnerable
python3.5 (PTS)stretch, stretch (security)3.5.3-1+deb9u1vulnerable
python3.7 (PTS)buster3.7.3-2vulnerable
bullseye3.7.5~rc1-2fixed
sid3.7.5-1fixed
python3.8 (PTS)bullseye, sid3.8.0-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
jythonsource(unstable)(unfixed)medium
pypysource(unstable)(unfixed)medium
python2.7source(unstable)(unfixed)medium
python3.4source(unstable)(unfixed)medium
python3.5source(unstable)(unfixed)medium
python3.7source(unstable)3.7.5~rc1-1medium
python3.8source(unstable)3.8.0~rc1-1medium

Notes

[jessie] - python3.4 <ignored> (Minor Issue, XSS in an unlikely use-case)
[buster] - python2.7 <no-dsa> (Minor issue, will be fixed via point release)
[jessie] - python2.7 <ignored> (Minor Issue, XSS in an unlikely use-case)
[jessie] - jython <ignored> (Minor Issue, XSS in an unlikely use-case)
[jessie] - pypy <ignored> (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)

Search for package or bug name: Reporting problems