SecurityContext

CVE-2018-1061: Python - Denial of Service

  • Cve: CVE-2018-1061
  • Name: Python - Denial of Service
  • 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.
  • Impact: Attackers can cause denial of service by triggering excessive processing in difflib, leading to application hang or crash.
  • Remediation: Update to the latest patched versions of Python, including 2.7.15, 3.4.9, 3.5.6rc1, 3.6.5rc1, or 3.7.0, or newer.
  • Vulnerability type: denial_of_service
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.04742
  • Epss percentile: 0.92086
  • Assignee: [email protected]
  • Published at: 2018-06-19T12:29:00Z
  • Age in days: 3080
  • Modified at: 2026-10-15T18:17:18Z
  • Patch available: yes
  • References total: 21
  • Products total: 8
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-1061
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-20Improper Input Validation
NVD-CWE-noinfo—

References

Same in every row:

  • Source: nvd
UrlTags
https://bugs.python.org/issue32981Vendor Advisory
https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-6-release-candidate-1Vendor Advisory
https://docs.python.org/3.6/whatsnew/changelog.html#python-3-6-5-release-candidate-1Vendor 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://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

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
python:python= 3.7.0 beta5; = 3.7.0 alpha4; = 3.7.0 beta4; = 3.7.0 alpha1; = 3.7.0 alpha2; = 3.7.0 alpha3; = 3.7.0 beta1; = 3.7.0 beta2; = 3.7.0 beta3; = 3.7.0 rc1; >= 3.6, <= 3.6.4; >= 3.5.0, <= 3.5.5; >= 3.0, < 3.4.9; < 2.7.15/v1/products/python/python
debian:debian_linux= 9.0, = 8.0/v1/products/debian/debian_linux
fedoraproject:fedora= 30, = 29, = 28/v1/products/fedoraproject/fedora
canonical:ubuntu_linux= 18.04, = 16.04, = 14.04, = 12.04/v1/products/canonical/ubuntu_linux
redhat:enterprise_linux_desktop= 7.0/v1/products/redhat/enterprise_linux_desktop
redhat:enterprise_linux_server= 7.0/v1/products/redhat/enterprise_linux_server
redhat:enterprise_linux_workstation= 7.0/v1/products/redhat/enterprise_linux_workstation
redhat:ansible_tower= 3.3/v1/products/redhat/ansible_tower

Projects

RepositoryLink kindsIndexedUrl
python/cpythonfixyes/v1/repositories/python/cpython

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 21216412
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports