The documentation XML-RPC server in Python through 2.7.16, 3.x through 3.6.9, and 3.7.x…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Partial Red Hat: 17 fixed, 2 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 7
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:python:python:*:*:*:*:*:*:*:* | 2.7.0 to before 2.7.17; 3.0.0 to before 3.5.8; 3.6.0 to before 3.6.10; 3.7.0 to before 3.7.5 | Vulnerable | python-pillow |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* | 12.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* | 16.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* | 18.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:* | 19.04 | Vulnerable | Canonical |
- cpe:2.3:a:python:python:*:*:*:*:*:*:*:* Versions 2.7.0 to before 2.7.17; 3.0.0 to before 3.5.8; 3.6.0 to before 3.6.10; 3.7.0 to before 3.7.5 Vulnerable ·python-pillow
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* Versions 12.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* Versions 14.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* Versions 16.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* Versions 18.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:* Versions 19.04 Vulnerable ·Canonical
Remediation
Red Hat 6 advisories
- RHSA-2021:0949 Released 2021-03-22 · Red Hat rating LowRed Hat OpenShift Do openshift/odo-init-image 1.1.3 security update
- OpenShift Do 1 openshiftdo/odo-init-image-rhel7
- RHSA-2020:4433 Released 2020-11-04 · Red Hat rating Moderatepython3 security and bug fix update
- Red Hat Enterprise Linux AppStream (v. 8) platform-python-3.6.8-31.el8, platform-python-debug-3.6.8-31.el8, platform-python-devel-3.6.8-31.el8 +3
- Red Hat Enterprise Linux BaseOS (v. 8) platform-python-3.6.8-31.el8, python3-3.6.8-31.el8, python3-libs-3.6.8-31.el8 +1
- RHSA-2020:4285 Released 2020-10-19 · Red Hat rating Moderaterh-python36 security, bug fix, and enhancement update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-python36-python-3.6.12-1.el6, rh-python36-python-debug-3.6.12-1.el6, rh-python36-python-devel-3.6.12-1.el6 +6
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-python36-python-3.6.12-1.el7, rh-python36-python-debug-3.6.12-1.el7, rh-python36-python-devel-3.6.12-1.el7 +6
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-python36-python-3.6.12-1.el7, rh-python36-python-debug-3.6.12-1.el7, rh-python36-python-devel-3.6.12-1.el7 +6
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-python36-python-3.6.12-1.el7, rh-python36-python-debug-3.6.12-1.el7, rh-python36-python-devel-3.6.12-1.el7 +6
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-python36-python-3.6.12-1.el6, rh-python36-python-debug-3.6.12-1.el6, rh-python36-python-devel-3.6.12-1.el6 +6
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-python36-python-3.6.12-1.el7, rh-python36-python-debug-3.6.12-1.el7, rh-python36-python-devel-3.6.12-1.el7 +6
Show 3 more Red Hat advisories
- RHSA-2020:3911 Released 2020-09-29 · Red Hat rating Moderatepython security update
- Red Hat Enterprise Linux Client (v. 7) python-2.7.5-89.el7, python-libs-2.7.5-89.el7
- Red Hat Enterprise Linux Client Optional (v. 7) python-debug-2.7.5-89.el7, python-devel-2.7.5-89.el7, python-test-2.7.5-89.el7 +2
- Red Hat Enterprise Linux ComputeNode (v. 7) python-2.7.5-89.el7, python-devel-2.7.5-89.el7, python-libs-2.7.5-89.el7
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) python-debug-2.7.5-89.el7, python-test-2.7.5-89.el7, python-tools-2.7.5-89.el7 +1
- Red Hat Enterprise Linux Server (v. 7) python-2.7.5-89.el7, python-devel-2.7.5-89.el7, python-libs-2.7.5-89.el7 +1
- Red Hat Enterprise Linux Server Optional (v. 7) python-debug-2.7.5-89.el7, python-test-2.7.5-89.el7, python-tools-2.7.5-89.el7 +1
- Red Hat Enterprise Linux Workstation (v. 7) python-2.7.5-89.el7, python-devel-2.7.5-89.el7, python-libs-2.7.5-89.el7
- Red Hat Enterprise Linux Workstation Optional (v. 7) python-debug-2.7.5-89.el7, python-test-2.7.5-89.el7, python-tools-2.7.5-89.el7 +1
- RHSA-2020:3888 Released 2020-09-29 · Red Hat rating Moderatepython3 security update
- Red Hat Enterprise Linux Client (v. 7) python3-3.6.8-17.el7, python3-libs-3.6.8-17.el7
- Red Hat Enterprise Linux Client Optional (v. 7) python3-3.6.8-17.el7, python3-debug-3.6.8-17.el7, python3-devel-3.6.8-17.el7 +3
- Red Hat Enterprise Linux ComputeNode (v. 7) python3-3.6.8-17.el7, python3-libs-3.6.8-17.el7
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) python3-3.6.8-17.el7, python3-debug-3.6.8-17.el7, python3-devel-3.6.8-17.el7 +3
- Red Hat Enterprise Linux Server (v. 7) python3-3.6.8-17.el7, python3-libs-3.6.8-17.el7, python3-libs-3.6.8-17.el7.ppc
- Red Hat Enterprise Linux Server Optional (v. 7) python3-3.6.8-17.el7, python3-3.6.8-17.el7.ppc, python3-debug-3.6.8-17.el7 +9
- Red Hat Enterprise Linux Workstation (v. 7) python3-3.6.8-17.el7, python3-libs-3.6.8-17.el7
- Red Hat Enterprise Linux Workstation Optional (v. 7) python3-3.6.8-17.el7, python3-debug-3.6.8-17.el7, python3-devel-3.6.8-17.el7 +3
- RHSA-2020:1605 Released 2020-04-28 · Red Hat rating Moderatepython27:2.7 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) Cython-0.28.1-7.module+el8.1.0+3111+de3f2d8e.src::python27:2.7, PyYAML-3.12-16.module+el8.1.0+3111+de3f2d8e.src::python27:2.7, babel-2.5.1-9.module+el8.1.0+3111+de3f2d8e.noarch::python27:2.7 +47
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| OpenShift Do 1 | Fixed | RHSA-2021:0949 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2020:1605, RHSA-2020:4433 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2020:4433 |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2020:3888, RHSA-2020:3911 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2020:3888, RHSA-2020:3911 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2020:3888, RHSA-2020:3911 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2020:3888, RHSA-2020:3911 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2020:3888, RHSA-2020:3911 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2020:3888, RHSA-2020:3911 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2020:3888, RHSA-2020:3911 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2020:3888, RHSA-2020:3911 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2020:4285 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2020:4285 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) | Fixed | RHSA-2020:4285 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) | Fixed | RHSA-2020:4285 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2020:4285 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2020:4285 |
Not affected: 2 products
- Red Hat Enterprise Linux 8
- Red Hat Software Collections
Timeline
- 2026-10-02 Threatist record created from CVE-2019-16935
- 2026-10-03 Alias added: GHSA-qhmv-wcg2-h8hx
- 2026-10-07 CVSS score added · CISA ADP
- 2026-10-07 Weakness changed · CISA ADP
- 2026-10-07 CISA SSVC decision points changed
References
Advisory 21
- USN-4151-1
- USN-4151-2
- openSUSE-SU-2019:2389
- openSUSE-SU-2019:2393
- openSUSE-SU-2019:2438
- openSUSE-SU-2019:2453
- FEDORA-2019-0d3fcae639
- FEDORA-2019-74ba24605e
- FEDORA-2019-b06ec6159b
- FEDORA-2019-758824a3ff
- FEDORA-2019-d202cda4f8
- FEDORA-2019-57462fa10d
- FEDORA-2019-7ec5bb5d22
- FEDORA-2019-a268ba7b23
- openSUSE-SU-2020:0086
- https://www.oracle.com/security-alerts/cpujul2020.html
- https://github.com/python/cpython/blob/e007860b8b3609ce0bc62b1780efaa06241520bd/Lib/DocXMLRPCServer.py#L213
- https://github.com/python/cpython/blob/35c0809158be7feae4c4f877a08b93baea2d8291/Lib/xmlrpc/server.py#L897
- https://security.netapp.com/advisory/ntap-20191017-0004/
- [debian-lts-announce] 20200715 [SECURITY] [DLA 2280-1] python3.5 security update
- [debian-lts-announce] 20210417 [SECURITY] [DLA 2628-1] python2.7 security update
Sources
- CVE-2019-16935 · CVE Program
- CVE-2019-16935 · NVD
- FIRST EPSS
- GHSA-qhmv-wcg2-h8hx · GitHub Advisory Database · CC BY 4.0
- CVE-2019-16935 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences