CVE-2018-1061
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.0•MEDIUM•Score: 6.5CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- v3.0•HIGH•Score: 7.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- v2.0•MEDIUM•Score: 5AV:N/AC:L/Au:N/C:N/I:N/A:P
EPSS Trends
Current EPSS score: 1.78%• Percentile: 83%
Techniques & Countermeasures
- CWE-20•Improper Input Validation
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Affected Systems
- canonical•ubuntu_linux
12.04 | 14.04 | 16.04 | 18.04
- debian•debian_linux
8.0 | 9.0
- fedoraproject•fedora
28 | 29 | 30
- python•python
< 2.7.15 | ≥ 3.0, < 3.4.9 | ≥ 3.5.0, ≤ 3.5.5 | ≥ 3.6, ≤ 3.6.4 | 3.7.0:alpha1 | 3.7.0:alpha2 | 3.7.0:alpha3 | 3.7.0:alpha4 | 3.7.0:beta1 | 3.7.0:beta2 | 3.7.0:beta3 | 3.7.0:beta4 | 3.7.0:beta5 | 3.7.0:rc1
- redhat•ansible_tower
3.3
- redhat•enterprise_linux_desktop
7.0
- redhat•enterprise_linux_server
7.0
- redhat•enterprise_linux_workstation
7.0
- [unknown]•python
python 2.7.15 | python 3.4.9 | python 3.5.6 | python 3.7.0
References (21)
- https://www.debian.org/security/2018/dsa-4306
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1061
- http://www.securitytracker.com/id/1042001
- https://lists.debian.org/debian-lts-announce/2018/09/msg00031.html
- https://bugs.python.org/issue32981
- https://usn.ubuntu.com/3817-2/
- https://docs.python.org/3.6/whatsnew/changelog.html#python-3-6-5-release-candidate-1
- https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-6-release-candidate-1
- https://access.redhat.com/errata/RHSA-2018:3505
- https://access.redhat.com/errata/RHSA-2018:3041
- https://www.debian.org/security/2018/dsa-4307
- https://usn.ubuntu.com/3817-1/
- https://lists.debian.org/debian-lts-announce/2018/09/msg00030.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JSKPGPZQNTAULHW4UH63KGOOUIDE4RRB/
- 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/46PVWY5LFP4BRPG3BVQ5QEEFYBVEXHCK/
- https://access.redhat.com/errata/RHBA-2019:0327
- https://access.redhat.com/errata/RHSA-2019:1260
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbst03951en_us
- https://access.redhat.com/errata/RHSA-2019:3725
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html