Skip to content
VulniPulse
Advisory severityMedium6.5Red Hat Linux

Medium [CVE-2018-1061] 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

This medium-severity Red Hat Linux advisory covers CVE-2018-1061 affecting Red Hat Enterprise Linux 7.4 Advanced Update Support, Red Hat Enterprise Linux 7.4 Telco Extended Update Support, Red Hat Enterprise Linux 7.4 Update Services for SAP Solutions.

Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.

CVE-2018-1061 Source published Source updated

VulniPulse record published

Affected products & platforms
Red Hat LinuxRed Hat Enterprise Linux
Open source advisory

Android app · Google Play

Monitor future Red Hat Linux CVEs from your phone.

Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.

Matching phone alertsOptional email delivery

Summary

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.

Red Hat severity: Moderate — CVSS 6.5 (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H). Weakness: CWE-20.

Affected Red Hat products: Red Hat Enterprise Linux 7; Red Hat Enterprise Linux 7.4 Advanced Update Support; Red Hat Enterprise Linux 7.4 Telco Extended Update Support; Red Hat Enterprise Linux 7.4 Update Services for SAP Solutions; Red Hat Enterprise Linux 7.5 Extended Update Support; 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; Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS; Red Hat Enterprise Linux 5; Red Hat Enterprise Linux 6; Red Hat Software Collections.

Will not fix / out of support: Red Hat Enterprise Linux 5; Red Hat Enterprise Linux 6; Red Hat Software Collections. Red Hat fixing advisory: RHSA-2018:3041, RHSA-2020:1346, RHSA-2020:1268, RHSA-2019:1260, RHSA-2019:3725.

Affected products named by the advisory: Red Hat package: python.

Affected versions
  • < 2.7.15
  • < 3.4.9
  • < 3.5.6rc1
  • < 3.6.5rc1
  • < 3.7.0

Official advisory · high-confidence parse· fetched 4 hours ago·verify at source

Fixed versions
  • python-0:2.7.5-76.el7
  • python-0:2.7.5-63.el7_4
  • python-0:2.7.5-74.el7_5
  • python27-python-0:2.7.16-4.el6
  • python27-python-jinja2-0:2.6-12.el6
  • rh-python36-python-0:3.6.9-2.el6
  • python27-python-0:2.7.16-4.el7
  • python27-python-jinja2-0:2.6-15.el7
  • rh-python36-python-0:3.6.9-2.el7
  • RHSA-2018:3041
  • RHSA-2020:1346
  • RHSA-2020:1268
  • RHSA-2019:1260
  • RHSA-2019:3725

Official advisory · high-confidence parse· fetched 4 hours ago·verify at source

Mitigation

Upgrade to a fixed release: python-0:2.7.5-76.el7, python-0:2.7.5-63.el7_4, python-0:2.7.5-74.el7_5, python27-python-0:2.7.16-4.el6, python27-python-jinja2-0:2.6-12.el6, rh-python36-python-0:3.6.9-2.el6. That is the remediation for this advisory.

The vendor advisory may list additional interim mitigations or workarounds not captured here — review it before change work.

Official advisory · high-confidence parse· fetched 4 hours ago·verify at source

Discussion(0)

No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.

Sign in to join the discussion.