CVE-2018-1061
HIGH 7.5CVSS 3.0python 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.
- Published
- 19 Jun 2018
- Last modified
- 15 Oct 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-20
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | secalert@redhat.com (Secondary) | CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | python | pythoncpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
< 2.7.15 | 2.7.15 |
| NVD | python | pythoncpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
>= 3.0, < 3.4.9 | 3.4.9 |
| NVD | python | pythoncpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
>= 3.5.0, <= 3.5.5 | |
| NVD | python | pythoncpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
>= 3.6, <= 3.6.4 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.7.0:alpha1:*:*:*:*:*:* |
= 3.7.0 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.7.0:alpha2:*:*:*:*:*:* |
= 3.7.0 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.7.0:alpha3:*:*:*:*:*:* |
= 3.7.0 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.7.0:alpha4:*:*:*:*:*:* |
= 3.7.0 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.7.0:beta1:*:*:*:*:*:* |
= 3.7.0 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.7.0:beta2:*:*:*:*:*:* |
= 3.7.0 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.7.0:beta3:*:*:*:*:*:* |
= 3.7.0 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.7.0:beta4:*:*:*:*:*:* |
= 3.7.0 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.7.0:beta5:*:*:*:*:*:* |
= 3.7.0 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.7.0:rc1:*:*:*:*:*:* |
= 3.7.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | redhat | ansible_towercpe:2.3:a:redhat:ansible_tower:3.3:*:*:*:*:*:*:* |
= 3.3 | |
| NVD | redhat | enterprise_linux_desktopcpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | redhat | enterprise_linux_servercpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | redhat | enterprise_linux_workstationcpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* |
= 12.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* |
= 14.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* |
= 16.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* |
= 18.04 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:28:*:*:*:*:*:*:* |
= 28 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:* |
= 29 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* |
= 30 |
References
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
- http://www.securitytracker.com/id/1042001 · Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHBA-2019:0327 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:3041 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:3505 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:1260
- https://access.redhat.com/errata/RHSA-2019:3725
- https://bugs.python.org/issue32981 · Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1061 · Issue Tracking
- https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-6-release-candidate-1 · Vendor Advisory
- https://docs.python.org/3.6/whatsnew/changelog.html#python-3-6-5-release-candidate-1 · Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2018/09/msg00030.html · Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/09/msg00031.html · Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/46PVWY5LFP4BRPG3BVQ5QEEFYBVEXHCK/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AEZ5IQT7OF7Q2NCGIVABOWYGKO7YU3NJ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JSKPGPZQNTAULHW4UH63KGOOUIDE4RRB/
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbst03951en_us
- 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-4306 · Third Party Advisory
- https://www.debian.org/security/2018/dsa-4307 · Third Party Advisory
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 19 Jun 2018)