cve.bz

CVE-2019-10160 Improper Encoding or Decoding of Data

9.8 criticalEPSS 5.2%Fix available

Critical (9.8). EPSS 5.2% estimated probability of exploitation activity in the next 30 days.

On this page
A security regression of CVE-2019-9636 was discovered in python since commit d537ab0ff9767ef024f26246899728f0116b1ec3 affecting versions 2.7, 3.5, 3.6, 3.7 and from v3.8.0a4 through v3.8.0b1, which still allows an attacker to exploit CVE-2019-9636 by abusing the user and password parts of a URL. When an application parses user-supplied URLs to store cookies, authentication credentials, or other kind of information, it is possible for an attacker to provide specially crafted URLs to make the application locate host-related information (e.g. cookies, authentication data) and send them to a different host than where it should, unlike if the URLs had been correctly parsed. The result of an attack may vary based on the application.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
5.2% (unchanged from 5.2% a week ago; 5.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 93rd percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-172 Improper Encoding or Decoding of Data
CWE-522 Insufficiently Protected Credentials
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-10160 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-10160?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-10160?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-10160 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2019-10160

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2019-10160](https://cve.bz/cve/badge/CVE-2019-10160.svg)](https://cve.bz/cve/CVE-2019-10160)

HTML:

<a href="https://cve.bz/cve/CVE-2019-10160"><img src="https://cve.bz/cve/badge/CVE-2019-10160.svg" alt="CVE-2019-10160"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
python:pythonfrom 2.7.0 before 2.7.17
python:pythonfrom 3.5.0 before 3.5.8
python:pythonfrom 3.6.0 before 3.6.9
python:pythonfrom 3.7.0 before 3.7.4
python:python3.8.0:alpha4
python:python3.8.0:beta1
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_eus7.6
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_server_aus7.6
redhat:enterprise_linux_server_tus7.6
redhat:enterprise_linux_workstation7.0
debian:debian_linux8.0
debian:debian_linux9.0
opensuse:leap15.0
opensuse:leap15.1
fedoraproject:fedora29
fedoraproject:fedora30
fedoraproject:fedora31
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux19.04
redhat:virtualization4.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9python3.53.5.3-1+deb9u2DLA-2280-1
Debian11python2.72.7.16-3DEBIAN-CVE-2019-10160
Ubuntu16.04:LTSpython2.72.7.12-1ubuntu0~16.04.8UBUNTU-CVE-2019-10160 USN-4127-1
Ubuntu16.04:LTSpython3.53.5.2-2ubuntu0~16.04.8UBUNTU-CVE-2019-10160 USN-4127-1
Ubuntu18.04:LTSpython2.72.7.15-4ubuntu4~18.04.1UBUNTU-CVE-2019-10160 USN-4127-1
Ubuntu18.04:LTSpython3.63.6.8-1~18.04.2UBUNTU-CVE-2019-10160 USN-4127-1
Ubuntu20.04:LTSpython3.83.8.10-0ubuntu1~20.04.10USN-6891-1
Ubuntu22.04:LTSpython3.103.10.12-1~22.04.4USN-6891-1
UbuntuPro:14.04:LTSpython2.72.7.6-8ubuntu0.6+esm2UBUNTU-CVE-2019-10160 USN-4127-2
UbuntuPro:14.04:LTSpython3.43.4.3-1ubuntu1~14.04.7+esm2UBUNTU-CVE-2019-10160 USN-4127-2
UbuntuPro:14.04:LTSpython3.53.5.2-2ubuntu0~16.04.4~14.04.1+esm1UBUNTU-CVE-2019-10160 USN-6891-1
UbuntuPro:16.04:LTSpython3.53.5.2-2ubuntu0~16.04.13+esm13USN-6891-1
UbuntuPro:18.04:LTSpython3.63.6.9-1~18.04ubuntu1.13+esm2USN-6891-1
UbuntuPro:18.04:LTSpython3.73.7.5-2ubuntu1~18.04.2+esm3USN-6891-1
3 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morepython, tkinter, python-libs and 5 more0:2.7.5-80.el7_6RHSA-2019:1587
Red Hatenterprise_linux:7::hypervisorimgbased, python-imgbased0:1.1.9-0.1.el7evRHSA-2019:2437
Red Hatenterprise_linux:7::hypervisorovirt-node-ng, ovirt-node-ng-nodectl, python2-ovirt-node-ng-nodectl0:4.3.5-0.20190717.0.el7evRHSA-2019:2437
Red Hatenterprise_linux:7::hypervisorredhat-release-virtualization-host, redhat-virtualization-host-image-update-placeholder0:4.3.5-2.el7evRHSA-2019:2437
Red Hatenterprise_linux:7::hypervisorredhat-virtualization-host, redhat-virtualization-host-image-update0:4.3.5-20190722.0.el7_7RHSA-2019:2437
Red Hatrhel_software_collections:3::el6python27-python, python27-tkinter, python27-python-libs and 5 more0:2.7.16-6.el6RHSA-2019:1700
Red Hatrhel_software_collections:3::el7python27-python, python27-tkinter, python27-python-libs and 5 more0:2.7.16-6.el7RHSA-2019:1700
SUSEEnterprise Storage 4, Enterprise Storage 5, HPE Helion OpenStack 8 and 14 morepython, python-base2.7.13-28.31.1SUSE-SU-2019:2091-1
SUSEEnterprise Storage 4, Enterprise Storage 5, HPE Helion OpenStack 8 and 13 morepython-doc2.7.13-28.31.2SUSE-SU-2019:2091-1
SUSEEnterprise Storage 4, Enterprise Storage 5, Linux Enterprise Desktop 12 SP4 and 13 morepython3, python3-base3.4.6-25.29.1SUSE-SU-2019:2053-1
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-BCL and 2 morepython3, python3-base3.4.6-25.29.1SUSE-SU-2019:2053-2
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Basesystem 15 SP1python3, python3-base3.6.10-3.42.2SUSE-SU-2020:0114-1
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Basesystem 15 SP1python3, python3-base3.6.8-3.23.1SUSE-SU-2019:2050-1
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Desktop Applications 15 and 2 morepython2.7.17-7.32.2SUSE-SU-2020:0234-1
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Python 2 15 SP1python, python-base2.7.14-7.14.2SUSE-SU-2019:2064-1
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Python 2 15 SP1python-base2.7.17-7.32.1SUSE-SU-2020:0234-1
SUSELinux Enterprise Module for Desktop Applications 15, Linux Enterprise Module for Desktop Applications 15 SP1python2.7.14-7.14.2SUSE-SU-2019:2064-1
SUSELinux Enterprise Module for Development Tools 15, Linux Enterprise Module for Development Tools 15 SP1python3-base3.6.10-3.42.2SUSE-SU-2020:0114-1
SUSELinux Enterprise Module for Development Tools 15, Linux Enterprise Module for Development Tools 15 SP1python3-base3.6.8-3.23.1SUSE-SU-2019:2050-1
17 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.0, Leap 15.1python, python-doc, python-base2.7.14-lp151.10.3.1openSUSE-SU-2019:1906-1
openSUSELeap 15.1python3, python3-base3.6.10-lp151.6.7.1openSUSE-SU-2020:0086-1
openSUSETumbleweedpython2.7.18-8.1openSUSE-SU-2024:11202-1
openSUSETumbleweedpython363.6.15-1.1openSUSE-SU-2024:11284-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This issue did not affect the versions of python as shipped with Red Hat Enterprise Linux 5 and 6 as the security regression was not introduced in those versions. See CVE-2019-9636 for more details about the how these versions of Red Hat Enterprise Linux are affected with regard to the original flaw.

This issue did not affect the versions of python as shipped with Red Hat Enterprise Linux 8 as the security regression was not introduced in those versions. See CVE-2019-9636 for more details about the how these versions of Red Hat Enterprise Linux are affected with regard to the original flaw.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7python-0:2.7.5-80.el7_6Fixed 2019-06-20RHSA-2019:1587
Red Hat Software Collections for Red Hat Enterprise Linux 6python27-python-0:2.7.16-6.el6Fixed 2019-07-08RHSA-2019:1700
Red Hat Software Collections for Red Hat Enterprise Linux 7python27-python-0:2.7.16-6.el7Fixed 2019-07-08RHSA-2019:1700
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSpython27-python-0:2.7.16-6.el7Fixed 2019-07-08RHSA-2019:1700
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSpython27-python-0:2.7.16-6.el7Fixed 2019-07-08RHSA-2019:1700
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSpython27-python-0:2.7.16-6.el7Fixed 2019-07-08RHSA-2019:1700
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7imgbased-0:1.1.9-0.1.el7evFixed 2019-08-12RHSA-2019:2437
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7ovirt-node-ng-0:4.3.5-0.20190717.0.el7evFixed 2019-08-12RHSA-2019:2437
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7redhat-release-virtualization-host-0:4.3.5-2.el7evFixed 2019-08-12RHSA-2019:2437
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7redhat-virtualization-host-0:4.3.5-20190722.0.el7_7Fixed 2019-08-12RHSA-2019:2437
Red Hat Enterprise Linux 5pythonNot affected
Red Hat Enterprise Linux 6pythonNot affected
Red Hat Enterprise Linux 7python3Not affected
Red Hat Enterprise Linux 8python27:2.7/python2Not affected
Red Hat Enterprise Linux 8python3Not affected
Red Hat Enterprise Linux 8python36:3.6/python36Not affected
Red Hat Software Collectionsrh-python35-pythonOut of support scope
Red Hat Software Collectionsrh-python36-pythonNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-10160.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-3 Using Leading 'Ghost' Character Sequences to Bypass Input Filters Likelihood: Medium · Severity: Medium
  • CAPEC-52 Embedding NULL Bytes Likelihood: High · Severity: High
  • CAPEC-53 Postfix, Null Terminate, and Backslash Likelihood: High · Severity: High
  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-71 Using Unicode Encoding to Bypass Validation Logic Likelihood: Medium · Severity: High
  • CAPEC-72 URL Encoding Likelihood: High · Severity: High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-80 Using UTF-8 Encoding to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-120 Double Encoding Likelihood: Low · Severity: Medium
  • CAPEC-267 Leverage Alternate Encoding Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-522 (13).

References

Check your stackJSON