Improper input validation in [UNKNOWN] python
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 28 fixed, 3 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| [UNKNOWN] | python | python 2.7.15; python 3.4.9; python 3.5.6; python 3.7.0 | — | No fix listed | CNA |
- python Vendor[UNKNOWN] Affected python 2.7.15; python 3.4.9; python 3.5.6; python 3.7.0 Fixed in — No fix listed CNA
CPE configurations NVD · 24
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:python:python:*:*:*:*:*:*:*:* | before 2.7.15; 3.0 to before 3.4.9; 3.5.0 – 3.5.5; 3.6 – 3.6.4 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.7.0:alpha1:*:*:*:*:*:* | 3.7.0 alpha1 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.7.0:alpha2:*:*:*:*:*:* | 3.7.0 alpha2 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.7.0:alpha3:*:*:*:*:*:* | 3.7.0 alpha3 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.7.0:alpha4:*:*:*:*:*:* | 3.7.0 alpha4 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.7.0:beta1:*:*:*:*:*:* | 3.7.0 beta1 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.7.0:beta2:*:*:*:*:*:* | 3.7.0 beta2 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.7.0:beta3:*:*:*:*:*:* | 3.7.0 beta3 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.7.0:beta4:*:*:*:*:*:* | 3.7.0 beta4 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.7.0:beta5:*:*:*:*:*:* | 3.7.0 beta5 | Vulnerable | python-pillow |
- cpe:2.3:a:python:python:*:*:*:*:*:*:*:* Versions before 2.7.15; 3.0 to before 3.4.9; 3.5.0 – 3.5.5; 3.6 – 3.6.4 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.7.0:alpha1:*:*:*:*:*:* Versions 3.7.0 alpha1 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.7.0:alpha2:*:*:*:*:*:* Versions 3.7.0 alpha2 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.7.0:alpha3:*:*:*:*:*:* Versions 3.7.0 alpha3 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.7.0:alpha4:*:*:*:*:*:* Versions 3.7.0 alpha4 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.7.0:beta1:*:*:*:*:*:* Versions 3.7.0 beta1 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.7.0:beta2:*:*:*:*:*:* Versions 3.7.0 beta2 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.7.0:beta3:*:*:*:*:*:* Versions 3.7.0 beta3 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.7.0:beta4:*:*:*:*:*:* Versions 3.7.0 beta4 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.7.0:beta5:*:*:*:*:*:* Versions 3.7.0 beta5 Vulnerable ·python-pillow
Show 14 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:python:python:3.7.0:rc1:*:*:*:*:*:* | 3.7.0 rc1 | Vulnerable | python-pillow |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| cpe:2.3:a:redhat:ansible_tower:3.3:*:*:*:*:*:*:* | 3.3 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* | 12.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* | 16.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* | 18.04 | Vulnerable | Canonical |
| cpe:2.3:o:fedoraproject:fedora:28:*:*:*:*:*:*:* | 28 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:* | 29 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* | 30 | Vulnerable | Fedoraproject |
- cpe:2.3:a:python:python:3.7.0:rc1:*:*:*:*:*:* Versions 3.7.0 rc1 Vulnerable ·python-pillow
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- cpe:2.3:a:redhat:ansible_tower:3.3:*:*:*:*:*:*:* Versions 3.3 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* Versions 12.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* Versions 14.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* Versions 16.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* Versions 18.04 Vulnerable ·Canonical
- cpe:2.3:o:fedoraproject:fedora:28:*:*:*:*:*:*:* Versions 28 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:* Versions 29 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* Versions 30 Vulnerable ·Fedoraproject
Remediation
Red Hat 5 advisories
- RHSA-2020:1346 Released 2020-04-07 · Red Hat rating Moderatepython security update
- Red Hat Enterprise Linux Server AUS (v. 7.4) python-2.7.5-63.el7_4, python-devel-2.7.5-63.el7_4, python-libs-2.7.5-63.el7_4
- Red Hat Enterprise Linux Server E4S (v. 7.4) python-2.7.5-63.el7_4, python-devel-2.7.5-63.el7_4, python-libs-2.7.5-63.el7_4
- Red Hat Enterprise Linux Server Optional AUS (v. 7.4) python-debug-2.7.5-63.el7_4, python-test-2.7.5-63.el7_4, python-tools-2.7.5-63.el7_4 +1
- Red Hat Enterprise Linux Server Optional E4S (v. 7.4) python-debug-2.7.5-63.el7_4, python-test-2.7.5-63.el7_4, python-tools-2.7.5-63.el7_4 +1
- Red Hat Enterprise Linux Server Optional TUS (v. 7.4) python-debug-2.7.5-63.el7_4, python-test-2.7.5-63.el7_4, python-tools-2.7.5-63.el7_4 +1
- Red Hat Enterprise Linux Server TUS (v. 7.4) python-2.7.5-63.el7_4, python-devel-2.7.5-63.el7_4, python-libs-2.7.5-63.el7_4
- RHSA-2020:1268 Released 2020-04-01 · Red Hat rating Moderatepython security update
- Red Hat Enterprise Linux ComputeNode EUS (v. 7.5) python-2.7.5-74.el7_5, python-devel-2.7.5-74.el7_5, python-libs-2.7.5-74.el7_5
- Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.5) python-debug-2.7.5-74.el7_5, python-test-2.7.5-74.el7_5, python-tools-2.7.5-74.el7_5 +1
- Red Hat Enterprise Linux Server EUS (v. 7.5) python-2.7.5-74.el7_5, python-devel-2.7.5-74.el7_5, python-libs-2.7.5-74.el7_5 +1
- Red Hat Enterprise Linux Server Optional EUS (v. 7.5) python-debug-2.7.5-74.el7_5, python-test-2.7.5-74.el7_5, python-tools-2.7.5-74.el7_5 +1
- RHSA-2019:3725 Released 2019-11-06 · Red Hat rating Moderaterh-python36-python security, bug fix, and enhancement update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-python36-python-3.6.9-2.el6, rh-python36-python-debug-3.6.9-2.el6, rh-python36-python-devel-3.6.9-2.el6 +4
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-python36-python-3.6.9-2.el7, rh-python36-python-debug-3.6.9-2.el7, rh-python36-python-devel-3.6.9-2.el7 +4
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-python36-python-3.6.9-2.el7, rh-python36-python-debug-3.6.9-2.el7, rh-python36-python-devel-3.6.9-2.el7 +4
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-python36-python-3.6.9-2.el7, rh-python36-python-debug-3.6.9-2.el7, rh-python36-python-devel-3.6.9-2.el7 +4
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-python36-python-3.6.9-2.el7, rh-python36-python-debug-3.6.9-2.el7, rh-python36-python-devel-3.6.9-2.el7 +4
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-python36-python-3.6.9-2.el6, rh-python36-python-debug-3.6.9-2.el6, rh-python36-python-devel-3.6.9-2.el6 +4
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-python36-python-3.6.9-2.el7, rh-python36-python-debug-3.6.9-2.el7, rh-python36-python-devel-3.6.9-2.el7 +4
Show 2 more Red Hat advisories
- RHSA-2019:1260 Released 2019-05-22 · Red Hat rating Importantpython27-python and python27-python-jinja2 security and bug fix update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) python27-python-2.7.16-4.el6, python27-python-debug-2.7.16-4.el6, python27-python-devel-2.7.16-4.el6 +5
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) python27-python-2.7.16-4.el7, python27-python-debug-2.7.16-4.el7, python27-python-devel-2.7.16-4.el7 +5
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) python27-python-2.7.16-4.el7, python27-python-debug-2.7.16-4.el7, python27-python-devel-2.7.16-4.el7 +5
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) python27-python-2.7.16-4.el7, python27-python-debug-2.7.16-4.el7, python27-python-devel-2.7.16-4.el7 +5
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) python27-python-2.7.16-4.el7, python27-python-debug-2.7.16-4.el7, python27-python-devel-2.7.16-4.el7 +5
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) python27-python-2.7.16-4.el6, python27-python-debug-2.7.16-4.el6, python27-python-devel-2.7.16-4.el6 +5
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) python27-python-2.7.16-4.el7, python27-python-debug-2.7.16-4.el7, python27-python-devel-2.7.16-4.el7 +5
- RHSA-2018:3041 Released 2018-10-30 · Red Hat rating Moderatepython security and bug fix update
- Red Hat Enterprise Linux Client (v. 7) python-2.7.5-76.el7, python-libs-2.7.5-76.el7
- Red Hat Enterprise Linux Client Optional (v. 7) python-debug-2.7.5-76.el7, python-devel-2.7.5-76.el7, python-test-2.7.5-76.el7 +2
- Red Hat Enterprise Linux ComputeNode (v. 7) python-2.7.5-76.el7, python-devel-2.7.5-76.el7, python-libs-2.7.5-76.el7
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) python-debug-2.7.5-76.el7, python-test-2.7.5-76.el7, python-tools-2.7.5-76.el7 +1
- Red Hat Enterprise Linux Server (v. 7) python-2.7.5-76.el7, python-devel-2.7.5-76.el7, python-libs-2.7.5-76.el7 +1
- Red Hat Enterprise Linux Server Optional (v. 7) python-debug-2.7.5-76.el7, python-test-2.7.5-76.el7, python-tools-2.7.5-76.el7 +1
- Red Hat Enterprise Linux Workstation (v. 7) python-2.7.5-76.el7, python-devel-2.7.5-76.el7, python-libs-2.7.5-76.el7
- Red Hat Enterprise Linux Workstation Optional (v. 7) python-debug-2.7.5-76.el7, python-test-2.7.5-76.el7, python-tools-2.7.5-76.el7 +1
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) python-2.7.5-76.el7, python-devel-2.7.5-76.el7, python-libs-2.7.5-76.el7
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) python-debug-2.7.5-76.el7, python-test-2.7.5-76.el7, python-tools-2.7.5-76.el7 +1
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
[UNKNOWN] python — RHSA-2018:3041
2 records Highest priority Priority MEDIUM 2 MEDIUM
Other records, highest priority first
- TI-2018-00980 Improper input validation in [UNKNOWN] pythonPriority MEDIUM 47
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Will not fix |
| Red Hat Software Collections | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2018:3041 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2018:3041 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2018:3041 |
| Red Hat Enterprise Linux ComputeNode EUS (v. 7.5) | Fixed | RHSA-2020:1268 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2018:3041 |
| Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.5) | Fixed | RHSA-2020:1268 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2018:3041 |
| Red Hat Enterprise Linux Server AUS (v. 7.4) | Fixed | RHSA-2020:1346 |
| Red Hat Enterprise Linux Server E4S (v. 7.4) | Fixed | RHSA-2020:1346 |
| Red Hat Enterprise Linux Server EUS (v. 7.5) | Fixed | RHSA-2020:1268 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2018:3041 |
| Red Hat Enterprise Linux Server Optional AUS (v. 7.4) | Fixed | RHSA-2020:1346 |
| Red Hat Enterprise Linux Server Optional E4S (v. 7.4) | Fixed | RHSA-2020:1346 |
| Red Hat Enterprise Linux Server Optional EUS (v. 7.5) | Fixed | RHSA-2020:1268 |
| Red Hat Enterprise Linux Server Optional TUS (v. 7.4) | Fixed | RHSA-2020:1346 |
| Red Hat Enterprise Linux Server TUS (v. 7.4) | Fixed | RHSA-2020:1346 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2018:3041 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2018:3041 |
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) | Fixed | RHSA-2018:3041 |
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) | Fixed | RHSA-2018:3041 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2019:1260, RHSA-2019:3725 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2019:1260, RHSA-2019:3725 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) | Fixed | RHSA-2019:1260 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) | Fixed | RHSA-2019:1260, RHSA-2019:3725 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) | Fixed | RHSA-2019:1260, RHSA-2019:3725 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) | Fixed | RHSA-2019:3725 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2019:1260, RHSA-2019:3725 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2019:1260, RHSA-2019:3725 |
Timeline
- 2026-10-02 Threatist record created from CVE-2018-1061
- 2026-10-03 Alias added: GHSA-gf62-w85x-fjpv
- 2026-10-16 CISA SSVC decision points changed
References
Advisory 18
- DSA-4306
- [debian-lts-announce] 20180926 [SECURITY] [DLA 1520-1] python3.4 security update
- https://bugs.python.org/issue32981
- USN-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
- RHSA-2018:3505
- RHSA-2018:3041
- DSA-4307
- USN-3817-1
- [debian-lts-announce] 20180925 [SECURITY] [DLA 1519-1] python2.7 security update
- FEDORA-2019-6e1938a3c5
- FEDORA-2019-cf725dd20b
- FEDORA-2019-51f1e08207
- RHBA-2019:0327
- RHSA-2019:1260
- RHSA-2019:3725
- openSUSE-SU-2020:0086
Sources
- CVE-2018-1061 · CVE Program
- CVE-2018-1061 · NVD
- FIRST EPSS
- GHSA-gf62-w85x-fjpv · GitHub Advisory Database · CC BY 4.0
- CVE-2018-1061 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences