CVE-2018-1061Python
High 7.5 No auth needed
Follow: this CVE · Python · Python We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.0
- 7.5
- EPSS
- 4.7% probability of exploitation in 30 days · percentile 93
- Auth required
- No
- Published
- Jun 19, 2018
- Updated
- Oct 15, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Python.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| 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 |
| python | python | 3.7.0 |
| python | python | 3.7.0 |
| python | python | 3.7.0 |
| python | python | 3.7.0 |
| python | python | 3.7.0 |
| python | python | 3.7.0 |
| python | python | 3.7.0 |
| python | python | 3.7.0 |
| python | python | 3.7.0 |
| 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 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org
- www.securitytracker.com Third Party Advisory VDB Entry
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com
- access.redhat.com
- bugs.python.org Vendor Advisory
- bugzilla.redhat.com Issue Tracking
- docs.python.org Vendor Advisory
- docs.python.org Vendor Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- support.hpe.com
- usn.ubuntu.com Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- www.debian.org Third Party Advisory
- www.debian.org Third Party Advisory