CVE-2018-1061

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.

Category

6.5
CVSS
Severity: Medium
CVSS 3.0 •
CVSS 2.0 •
EPSS 3.58% Top 15%
Vendor Advisory debian.org Vendor Advisory ubuntu.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory debian.org Vendor Advisory ubuntu.com Vendor Advisory fedoraproject.org Vendor Advisory fedoraproject.org Vendor Advisory fedoraproject.org Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory opensuse.org Vendor Advisory python.org Vendor Advisory python.org Vendor Advisory python.org
Affected: [UNKNOWN] python
Published at:
Updated at:

References

Link Tags
https://www.debian.org/security/2018/dsa-4306 third party advisory vendor advisory
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1061 issue tracking
http://www.securitytracker.com/id/1042001 vdb entry third party advisory
https://lists.debian.org/debian-lts-announce/2018/09/msg00031.html third party advisory mailing list
https://bugs.python.org/issue32981 vendor advisory
https://usn.ubuntu.com/3817-2/ third party advisory vendor advisory
https://docs.python.org/3.6/whatsnew/changelog.html#python-3-6-5-release-candidate-1 vendor advisory
https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-6-release-candidate-1 vendor advisory
https://access.redhat.com/errata/RHSA-2018:3505 third party advisory vendor advisory
https://access.redhat.com/errata/RHSA-2018:3041 third party advisory vendor advisory
https://www.debian.org/security/2018/dsa-4307 third party advisory vendor advisory
https://usn.ubuntu.com/3817-1/ third party advisory vendor advisory
https://lists.debian.org/debian-lts-announce/2018/09/msg00030.html third party advisory mailing list
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JSKPGPZQNTAULHW4UH63KGOOUIDE4RRB/ vendor advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AEZ5IQT7OF7Q2NCGIVABOWYGKO7YU3NJ/ vendor advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/46PVWY5LFP4BRPG3BVQ5QEEFYBVEXHCK/ vendor advisory
https://access.redhat.com/errata/RHBA-2019:0327 third party advisory vendor advisory
https://access.redhat.com/errata/RHSA-2019:1260 vendor advisory
https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbst03951en_us
https://access.redhat.com/errata/RHSA-2019:3725 vendor advisory
http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html vendor advisory

Frequently Asked Questions

What is the severity of CVE-2018-1061?
CVE-2018-1061 has been scored as a medium severity vulnerability.
How to fix CVE-2018-1061?
To fix CVE-2018-1061, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2018-1061 being actively exploited in the wild?
It is possible that CVE-2018-1061 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~4% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2018-1061?
CVE-2018-1061 affects [UNKNOWN] python.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.