CVE-2018-1061
Python difflib Catastrophic Backtracking Denial of Service
Description
python before versions 2.7.15, 3.4.9, 3.5.6rc1, 3.6.5rc1 and 3.7.0 is vulnerable to catastrophic backtracking in the difflib.IS_LINE_JUNK method. An attacker could use this flaw to cause denial of service.
INFO
Published Date :
June 19, 2018, 12:29 p.m.
Last Modified :
Nov. 7, 2023, 2:55 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
Affected Products
The following products are affected by CVE-2018-1061
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2018-1061
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2018-1061
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2018-1061
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added Reference Red Hat, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JSKPGPZQNTAULHW4UH63KGOOUIDE4RRB/ [No types assigned] Added Reference Red Hat, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AEZ5IQT7OF7Q2NCGIVABOWYGKO7YU3NJ/ [No types assigned] Added Reference Red Hat, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/46PVWY5LFP4BRPG3BVQ5QEEFYBVEXHCK/ [No types assigned] Removed Reference Red Hat, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/JSKPGPZQNTAULHW4UH63KGOOUIDE4RRB/ Removed Reference Red Hat, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/AEZ5IQT7OF7Q2NCGIVABOWYGKO7YU3NJ/ Removed Reference Red Hat, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/46PVWY5LFP4BRPG3BVQ5QEEFYBVEXHCK/ -
CVE Modified by [email protected]
Jan. 21, 2020
Action Type Old Value New Value Added Reference http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html [No Types Assigned] -
CVE Modified by [email protected]
Nov. 06, 2019
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2019:3725 [No Types Assigned] -
CVE Modified by [email protected]
Oct. 09, 2019
Action Type Old Value New Value Added CVSS V3 Red Hat, Inc. AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H Added CWE Red Hat, Inc. CWE-20 -
CWE Remap by [email protected]
Oct. 03, 2019
Action Type Old Value New Value Changed CWE CWE-399 CWE-399 NVD-CWE-noinfo -
CVE Modified by [email protected]
Aug. 21, 2019
Action Type Old Value New Value Added Reference https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbst03951en_us [No Types Assigned] -
CVE Modified by [email protected]
May. 22, 2019
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2019:1260 [No Types Assigned] -
Modified Analysis by [email protected]
Apr. 25, 2019
Action Type Old Value New Value Changed Reference Type https://access.redhat.com/errata/RHBA-2019:0327 No Types Assigned https://access.redhat.com/errata/RHBA-2019:0327 Third Party Advisory -
CVE Modified by [email protected]
Apr. 24, 2019
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHBA-2019:0327 [No Types Assigned] -
Modified Analysis by [email protected]
Apr. 03, 2019
Action Type Old Value New Value Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/AEZ5IQT7OF7Q2NCGIVABOWYGKO7YU3NJ/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/AEZ5IQT7OF7Q2NCGIVABOWYGKO7YU3NJ/ Mailing List, Third Party Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/JSKPGPZQNTAULHW4UH63KGOOUIDE4RRB/ Mailing List, Release Notes, Third Party Advisory https://lists.fedoraproject.org/archives/list/[email protected]/message/JSKPGPZQNTAULHW4UH63KGOOUIDE4RRB/ Mailing List, Third Party Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/46PVWY5LFP4BRPG3BVQ5QEEFYBVEXHCK/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/46PVWY5LFP4BRPG3BVQ5QEEFYBVEXHCK/ Mailing List, Third Party Advisory Changed CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:* OR *cpe:2.3:o:fedoraproject:fedora:28:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Mar. 30, 2019
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/46PVWY5LFP4BRPG3BVQ5QEEFYBVEXHCK/ [No Types Assigned] -
CVE Modified by [email protected]
Mar. 29, 2019
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/AEZ5IQT7OF7Q2NCGIVABOWYGKO7YU3NJ/ [No Types Assigned] -
Modified Analysis by [email protected]
Mar. 28, 2019
Action Type Old Value New Value Changed Reference Type http://www.securitytracker.com/id/1042001 No Types Assigned http://www.securitytracker.com/id/1042001 Third Party Advisory, VDB Entry Changed Reference Type https://access.redhat.com/errata/RHSA-2018:3505 No Types Assigned https://access.redhat.com/errata/RHSA-2018:3505 Third Party Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/JSKPGPZQNTAULHW4UH63KGOOUIDE4RRB/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/JSKPGPZQNTAULHW4UH63KGOOUIDE4RRB/ Mailing List, Release Notes, Third Party Advisory Changed Reference Type https://usn.ubuntu.com/3817-1/ No Types Assigned https://usn.ubuntu.com/3817-1/ Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2018:3041 No Types Assigned https://access.redhat.com/errata/RHSA-2018:3041 Third Party Advisory Changed Reference Type https://usn.ubuntu.com/3817-2/ No Types Assigned https://usn.ubuntu.com/3817-2/ Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:redhat:ansible_tower:3.3:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Mar. 27, 2019
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/JSKPGPZQNTAULHW4UH63KGOOUIDE4RRB/ [No Types Assigned] -
CVE Modified by [email protected]
Nov. 16, 2018
Action Type Old Value New Value Added Reference https://usn.ubuntu.com/3817-2/ [No Types Assigned] -
CVE Modified by [email protected]
Nov. 14, 2018
Action Type Old Value New Value Added Reference https://usn.ubuntu.com/3817-1/ [No Types Assigned] Added Reference http://www.securitytracker.com/id/1042001 [No Types Assigned] -
CVE Modified by [email protected]
Nov. 07, 2018
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2018:3505 [No Types Assigned] -
CVE Modified by [email protected]
Oct. 31, 2018
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2018:3041 [No Types Assigned] -
Modified Analysis by [email protected]
Oct. 09, 2018
Action Type Old Value New Value Changed Reference Type https://lists.debian.org/debian-lts-announce/2018/09/msg00031.html No Types Assigned https://lists.debian.org/debian-lts-announce/2018/09/msg00031.html Mailing List, Third Party Advisory Changed Reference Type https://docs.python.org/3.6/whatsnew/changelog.html#python-3-6-5-release-candidate-1 No Types Assigned https://docs.python.org/3.6/whatsnew/changelog.html#python-3-6-5-release-candidate-1 Vendor Advisory Changed Reference Type https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-6-release-candidate-1 No Types Assigned https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-6-release-candidate-1 Vendor Advisory Changed Reference Type https://www.debian.org/security/2018/dsa-4306 No Types Assigned https://www.debian.org/security/2018/dsa-4306 Third Party Advisory Changed Reference Type https://www.debian.org/security/2018/dsa-4307 No Types Assigned https://www.debian.org/security/2018/dsa-4307 Third Party Advisory Changed Reference Type https://lists.debian.org/debian-lts-announce/2018/09/msg00030.html No Types Assigned https://lists.debian.org/debian-lts-announce/2018/09/msg00030.html Mailing List, Third Party Advisory Removed CPE Configuration OR *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions up to (excluding) 3.5.6 Removed CPE Configuration OR *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions up to (excluding) 3.7.0 Changed CPE Configuration OR *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions up to (excluding) 2.7.15 OR *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions up to (excluding) 2.7.15 *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.0 up to (excluding) 3.4.9 *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.5.0 up to (including) 3.5.5 *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.6 up to (including) 3.6.4 *cpe:2.3:a:python:python:3.7.0:alpha1:*:*:*:*:*:* *cpe:2.3:a:python:python:3.7.0:alpha2:*:*:*:*:*:* *cpe:2.3:a:python:python:3.7.0:alpha3:*:*:*:*:*:* *cpe:2.3:a:python:python:3.7.0:alpha4:*:*:*:*:*:* *cpe:2.3:a:python:python:3.7.0:beta1:*:*:*:*:*:* *cpe:2.3:a:python:python:3.7.0:beta2:*:*:*:*:*:* *cpe:2.3:a:python:python:3.7.0:beta3:*:*:*:*:*:* *cpe:2.3:a:python:python:3.7.0:beta4:*:*:*:*:*:* *cpe:2.3:a:python:python:3.7.0:beta5:*:*:*:*:*:* *cpe:2.3:a:python:python:3.7.0:rc1:*:*:*:*:*:* Changed CPE Configuration OR *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions up to (excluding) 3.4.9 OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Sep. 29, 2018
Action Type Old Value New Value Added Reference https://www.debian.org/security/2018/dsa-4307 [No Types Assigned] -
CVE Modified by [email protected]
Sep. 28, 2018
Action Type Old Value New Value Added Reference https://www.debian.org/security/2018/dsa-4306 [No Types Assigned] -
CVE Modified by [email protected]
Sep. 26, 2018
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2018/09/msg00031.html [No Types Assigned] Added Reference https://lists.debian.org/debian-lts-announce/2018/09/msg00030.html [No Types Assigned] -
CVE Modified by [email protected]
Aug. 17, 2018
Action Type Old Value New Value Changed Description python before versions 2.7.15, 3.4.9, 3.5.6 and 3.7.0 is vulnerable to catastrophic backtracking in the difflib.IS_LINE_JUNK method. An attacker could use this flaw to cause denial of service. python before versions 2.7.15, 3.4.9, 3.5.6rc1, 3.6.5rc1 and 3.7.0 is vulnerable to catastrophic backtracking in the difflib.IS_LINE_JUNK method. An attacker could use this flaw to cause denial of service. Removed Reference https://docs.python.org/3.6/whatsnew/changelog.html#python-3-6-5-final [Vendor Advisory] Added Reference https://docs.python.org/3.6/whatsnew/changelog.html#python-3-6-5-release-candidate-1 [No Types Assigned] Added Reference https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-6-release-candidate-1 [No Types Assigned] -
Initial Analysis by [email protected]
Aug. 10, 2018
Action Type Old Value New Value Added CVSS V2 (AV:N/AC:L/Au:N/C:N/I:N/A:P) Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1061 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1061 Issue Tracking Changed Reference Type https://docs.python.org/3.6/whatsnew/changelog.html#python-3-6-5-final No Types Assigned https://docs.python.org/3.6/whatsnew/changelog.html#python-3-6-5-final Vendor Advisory Changed Reference Type https://bugs.python.org/issue32981 No Types Assigned https://bugs.python.org/issue32981 Vendor Advisory Added CWE CWE-399 Added CPE Configuration OR *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions up to (excluding) 2.7.15 Added CPE Configuration OR *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions up to (excluding) 3.4.9 Added CPE Configuration OR *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions up to (excluding) 3.5.6 Added CPE Configuration OR *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions up to (excluding) 3.7.0
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2018-1061
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2018-1061
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.63 }} -0.17%
score
0.76830
percentile