Bug 1549192 (CVE-2018-1061) - CVE-2018-1061 python: DOS via regular expression backtracking in difflib.IS_LINE_JUNK method in difflib
Summary: CVE-2018-1061 python: DOS via regular expression backtracking in difflib.IS_L...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-1061
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1563488 1709355 1563459 1563461 1563462 1563463 1563464 1563465 1563485 1563486 1563487 1563489 1709381
Blocks: 1549194
TreeView+ depends on / blocked
 
Reported: 2018-02-26 16:20 UTC by Pedro Sampaio
Modified: 2019-09-29 14:33 UTC (History)
17 users (show)

Fixed In Version: python 2.7.15, python 3.4.9, python 3.5.6, python 3.7.0
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the way catastrophic backtracking was implemented in python's difflib.IS_LINE_JUNK method. An attacker could use this flaw to cause denial of service.
Clone Of:
Environment:
Last Closed: 2019-06-08 03:41:20 UTC


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:3041 None None None 2018-10-30 07:24:40 UTC
Red Hat Product Errata RHSA-2019:1260 None None None 2019-05-22 12:01:50 UTC

Description Pedro Sampaio 2018-02-26 16:20:03 UTC
Catastrophic backtracking vulnerability was found in Python. Exploitation of a regular expression in difflib.IS_LINE_JUNK method in servers that use difflib can lead to denial of service.

Upstream issue:

https://bugs.python.org/issue32981

Comment 1 Huzaifa S. Sidhpurwala 2018-04-04 01:42:43 UTC
Created python3 tracking bugs for this issue:

Affects: fedora-all [bug 1563462]


Created python26 tracking bugs for this issue:

Affects: fedora-all [bug 1563464]


Created python33 tracking bugs for this issue:

Affects: fedora-all [bug 1563465]


Created python34 tracking bugs for this issue:

Affects: fedora-all [bug 1563463]


Created python35 tracking bugs for this issue:

Affects: fedora-all [bug 1563461]

Comment 2 Huzaifa S. Sidhpurwala 2018-04-04 01:56:23 UTC
External References:

https://docs.python.org/3.6/whatsnew/changelog.html#python-3-6-5-final

Comment 4 Huzaifa S. Sidhpurwala 2018-04-04 02:22:31 UTC
Acknowledgments:

Name: the Python security response team

Comment 5 errata-xmlrpc 2018-10-30 07:24:32 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2018:3041 https://access.redhat.com/errata/RHSA-2018:3041

Comment 6 errata-xmlrpc 2019-05-22 12:01:49 UTC
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 6
  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS

Via RHSA-2019:1260 https://access.redhat.com/errata/RHSA-2019:1260


Note You need to log in before you can comment on or make changes to this bug.