CVE-2018-1061
MEDIUMCVSS 6.5/10EPSS 4.98%
Last modified
CVE-2018-1061 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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.. EPSS estimates a 4.98% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Python | Python | < 2.7.15 | — |
| Python | Python | >= 3.0, < 3.4.9 | — |
| Python | Python | >= 3.5.0, <= 3.5.5 | — |
| Python | Python | >= 3.6, <= 3.6.4 | — |
| Python | Python | 3.7.0 | Alpha1 |
| Debian | Debian Linux | 8.0 | — |
| Debian | Debian Linux | 9.0 | — |
| Redhat | Ansible Tower | 3.3 | — |
| Redhat | Enterprise Linux Desktop | 7.0 | — |
| Redhat | Enterprise Linux Server | 7.0 | — |
| Redhat | Enterprise Linux Workstation | 7.0 | — |
| Canonical | Ubuntu Linux | 12.04 | — |
| Canonical | Ubuntu Linux | 14.04 | — |
| Canonical | Ubuntu Linux | 16.04 | — |
| Canonical | Ubuntu Linux | 18.04 | — |
| Fedoraproject | Fedora | 28 | — |
| Fedoraproject | Fedora | 29 | — |
| Fedoraproject | Fedora | 30 | — |
References
- http://www.securitytracker.com/id/1042001Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHBA-2019:0327Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:3041Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:3505Third Party Advisory
- https://bugs.python.org/issue32981Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2018/09/msg00030.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/09/msg00031.htmlMailing List, Third Party Advisory
- https://usn.ubuntu.com/3817-1/Third Party Advisory
- https://usn.ubuntu.com/3817-2/Third Party Advisory
- https://www.debian.org/security/2018/dsa-4306Third Party Advisory
- https://www.debian.org/security/2018/dsa-4307Third Party Advisory
- http://www.securitytracker.com/id/1042001Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHBA-2019:0327Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:3041Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:3505Third Party Advisory
- https://bugs.python.org/issue32981Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2018/09/msg00030.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/09/msg00031.htmlMailing List, Third Party Advisory
- https://usn.ubuntu.com/3817-1/Third Party Advisory
- https://usn.ubuntu.com/3817-2/Third Party Advisory
- https://www.debian.org/security/2018/dsa-4306Third Party Advisory
- https://www.debian.org/security/2018/dsa-4307Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-1061?
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.
How severe is CVE-2018-1061?
CVE-2018-1061 has a CVSS score of 6.5/10 (MEDIUM severity). The EPSS model estimates a 4.98% probability of exploitation in the next 30 days.
How do I fix CVE-2018-1061?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2018
- CVE-2018-10604SEL Compass version 3.0.5.1 and prior allows all users full …8.8
- CVE-2018-10605Martem TELEM GW6/GWM versions prior to 2.0.87-4018403-k4 may…
- CVE-2018-10606WECON LeviStudio Versions 1.8.29 and 1.8.44 have multiple he…8.8
- CVE-2018-10607Martem TELEM GW6 and GWM devices with firmware 2018.04.18-li…
- CVE-2018-10608SEL AcSELerator Architect version 2.2.24.0 and prior can be …
- CVE-2018-10609Martem TELEM GW6 and GWM devices with firmware 2018.04.18-li…
- CVE-2018-10610An out-of-bounds vulnerability in LeviStudioU, Versions 1.8.…
- CVE-2018-10611Java remote method invocation (RMI) input port in GE MDS Pul…
- CVE-2018-10612In 3S-Smart Software Solutions GmbH CODESYS Control V3 produ…
- CVE-2018-10613Multiple variants of XML External Entity (XXE) attacks may b…
- CVE-2018-10614An XXE vulnerability in LeviStudioU, Versions 1.8.29 and 1.8…
- CVE-2018-10615Directory traversal may lead to files being exfiltrated or d…
Are you affected by CVE-2018-1061?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
