Ad

CVE-2019-16935

MEDIUM CVSS 3.1: 6,1 EPSS 4.65%
Обновлено 7 октября 2026
Python
Параметр Значение
CVSS 6,1 (MEDIUM)
Уязвимые версии 2.7.0 — 3.7.5
Устранено в версии 2.7.17
Тип уязвимости CWE-79 (Межсайтовый скриптинг (XSS))
Поставщик Python
Публичный эксплойт Нет

Сервер документации XML-RPC в Python через 2.7.16, 3.x через 3.6.9, и 3.7.x через 3.7.4 имеет XSS через поле server_title. Это происходит в Lib/DocXMLRPCServer.py в Python 2.x, и в Lib/xmlrpc/server.py в Python 3.x. Если set_server_title вызывается с ненадежным входом, произвольный JavaScript может быть доставлен клиентам, которые посещают http URL для этого сервера.

Показать оригинальное описание (EN)

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.

Характеристики атаки

Способ атаки
По сети
Атака возможна удалённо
Сложность
Низкая
Легко эксплуатировать
Нужны права
Не требуются
Права не нужны
Участие пользователя
Требуется
Нужно действие пользователя

Последствия

Конфиденциальность
Низкое
Частичная утечка данных
Целостность
Низкое
Частичная модификация данных
Доступность
Нет
Нет нарушения работы

Строка CVSS v3.1

Уязвимые продукты 10

Конфигурация От (включительно) До (исключительно)
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
2.7.0 2.7.17
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
3.0.0 3.5.8
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
3.6.0 3.6.10
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
3.7.0 3.7.5
Debian Debian_Linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
— —
Canonical Ubuntu_Linux
cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*
— —
Canonical Ubuntu_Linux
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*
— —
Canonical Ubuntu_Linux
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*
— —
Canonical Ubuntu_Linux
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
— —
Canonical Ubuntu_Linux
cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*
— —

Ссылки 23

https://usn.ubuntu.com/4151-1/
USN-4151-1
https://usn.ubuntu.com/4151-2/
USN-4151-2
http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00062.html
openSUSE-SU-2019:2389
http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00063.html
openSUSE-SU-2019:2393
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00012.html
openSUSE-SU-2019:2438
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00021.html
openSUSE-SU-2019:2453
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
FEDORA-2019-0d3fcae639
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
FEDORA-2019-74ba24605e
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
FEDORA-2019-b06ec6159b
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
FEDORA-2019-758824a3ff
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
FEDORA-2019-d202cda4f8
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
FEDORA-2019-57462fa10d
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
FEDORA-2019-7ec5bb5d22
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
FEDORA-2019-a268ba7b23
http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
openSUSE-SU-2020:0086
https://www.oracle.com/security-alerts/cpujul2020.html
NVD
https://bugs.python.org/issue38243
NVD
https://github.com/python/cpython/pull/16373
NVD
https://github.com/python/cpython/blob/e007860b8b3609ce0bc62b1780efaa06241520bd…
NVD
https://github.com/python/cpython/blob/35c0809158be7feae4c4f877a08b93baea2d8291…
NVD
https://security.netapp.com/advisory/ntap-20191017-0004/
NVD
https://lists.debian.org/debian-lts-announce/2020/07/msg00011.html
[debian-lts-announce] 20200715 [SECURITY] [DLA 2280-1] python3.5 security update
https://lists.debian.org/debian-lts-announce/2021/04/msg00015.html
[debian-lts-announce] 20210417 [SECURITY] [DLA 2628-1] python2.7 security update