CVE-2018-1060 json
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 pop3lib's apop() method.
published 2018-06-18 8 y ago modified 2026-10-08 31 d ago also EUVD-2018-11713
- cvss
- 4.3
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.0%
- EPSS 5.0% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
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 pop3lib's apop() method. An attacker could use this flaw to cause denial of service.
Patch / fix
- python python 2.7.15, 3.4.9, 3.5.6, 3.6.5
- python2.7 Debian 11 2.7.14-7
debian advisories DEBIAN-CVE-2018-1060
- python2.7 Ubuntu 14.04 LTS 2.7.6-8ubuntu0.5
- python2.7 Ubuntu 16.04 LTS 2.7.12-1ubuntu0~16.04.4
- python3.4 Ubuntu 14.04 LTS 3.4.3-1ubuntu1~14.04.7
- python3.5 Ubuntu 16.04 LTS 3.5.2-2ubuntu0~16.04.5
- python3.5 Ubuntu Pro 14.04 LTS 3.5.2-2ubuntu0~16.04.4~14.04.1+esm1
ubuntu advisories UBUNTU-CVE-2018-1060
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- rh-python36-python RHEL 3 SOFTWARE_COLLECTIONS 3.6.9-2.el6
- rh-python36-python RHEL 3 SOFTWARE_COLLECTIONS 3.6.9-2.el7
- rh-python36-python-libs RHEL 3 SOFTWARE_COLLECTIONS 3.6.9-2.el6
- rh-python36-python-libs RHEL 3 SOFTWARE_COLLECTIONS 3.6.9-2.el7
- rh-python36-python-test RHEL 3 SOFTWARE_COLLECTIONS 3.6.9-2.el6
- rh-python36-python-test RHEL 3 SOFTWARE_COLLECTIONS 3.6.9-2.el7
- rh-python36-python-tools RHEL 3 SOFTWARE_COLLECTIONS 3.6.9-2.el6
- rh-python36-python-tools RHEL 3 SOFTWARE_COLLECTIONS 3.6.9-2.el7
red hat advisories RHSA-2020:1346RHSA-2019:3725RHSA-2020:1268RHSA-2019:1260RHSA-2018:3041
- python36 SLES for SAP 12 SP5, SLES 12 SP5 3.6.10-4.3.5
- python36-base SLES for SAP 12 SP5, SLES 12 SP5 3.6.10-4.3.5
- python SLE Module for Python 2 15 SP1, SLE Module for Desktop Applications 15 SP1, SLE Module for Desktop Applications 15 +2 more 2.7.17-7.32.2
- python-base SLE Module for Python 2 15 SP1, SLE Module for Basesystem 15 SP1, SLE Module for Basesystem 15 2.7.17-7.32.1
- python3 SLE Module for Basesystem 15 SP1, SLE Module for Basesystem 15 3.6.10-3.42.2
- python3-base SLE Module for Development Tools 15 SP1, SLE Module for Development Tools 15, SLE Module for Basesystem 15 SP1 +1 more 3.6.10-3.42.2
- python-base SLES 12 SP4, SLES 12 SP3, SLED 12 SP4 +7 more 2.7.13-28.16.1
- python SLES 12 SP4, SLES 12 SP3, SLED 12 SP4 +4 more 2.7.13-28.16.1
suse advisories SUSE-SU-2020:0302-1SUSE-SU-2020:0234-1SUSE-SU-2020:0114-1SUSE-SU-2018:3554-2SUSE-SU-2018:3554-1SUSE-SU-2018:2696-1
- python openSUSE Tumbleweed 2.7.18-8.1
- python36 openSUSE Tumbleweed 3.6.15-1.1
- python3 openSUSE Leap 15.1 3.6.10-lp151.6.7.1
- python3-base openSUSE Leap 15.1 3.6.10-lp151.6.7.1
opensuse advisories openSUSE-SU-2024:11202-1openSUSE-SU-2024:11284-1openSUSE-SU-2020:0086-1
- python2 Alpine 3.15, Alpine 3.14, Alpine 3.13 +7 more 2.7.15-r0
- python3 Alpine 3.5 3.5.6-r0
- python3 Alpine 3.7, Alpine 3.6 3.6.5-r0
- python3 Alpine 3.8 3.6.6-r0
- python2-tkinter Alpine 3.11, Alpine 3.10, Alpine 3.9 2.7.15-r0
alpine advisories ALPINE-CVE-2018-1060
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-1060 updated cvss 4.3
python: DOS via regular expression catastrophic backtracking in apop() method in pop3lib
-
Red Hat Enterprise Linux 5 python Red Hat Enterprise Linux 6 python, tkinter, python-libs, python-test, python-toolsaffected: no fix planned “Will not fix”
-
Red Hat Software Collections rh-python34-python, rh-python35-python, rh-python34-python-libs, rh-python34-python-test, rh-python35-python-libs, rh-python35-python-test, +4 moreaffected: no fix available, no fix planned “Will not fix”
-
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) tkinter 2.7.5-76.el7, python-test 2.7.5-76.el7, python-tools 2.7.5-76.el7 Red Hat Enterprise Linux ComputeNode (v. 7) python 2.7.5-76.el7, python-libs 2.7.5-76.el7fixed: vendor fix RHSA-2018:3041
-
Red Hat Enterprise Linux ComputeNode EUS (v. 7.5) python 2.7.5-74.el7_5, python-libs 2.7.5-74.el7_5fixed: vendor fix RHSA-2020:1268
-
Red Hat Enterprise Linux ComputeNode Optional (v. 7) tkinter 2.7.5-76.el7, python-test 2.7.5-76.el7, python-tools 2.7.5-76.el7fixed: vendor fix RHSA-2018:3041
-
Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.5) tkinter 2.7.5-74.el7_5, python-test 2.7.5-74.el7_5, python-tools 2.7.5-74.el7_5fixed: vendor fix RHSA-2020:1268
-
Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) python 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) tkinter 2.7.5-76.el7, python-test 2.7.5-76.el7, python-tools 2.7.5-76.el7 Red Hat Enterprise Linux Server (v. 7) python 2.7.5-76.el7, python-libs 2.7.5-76.el7fixed: vendor fix RHSA-2018:3041
-
Red Hat Enterprise Linux Server AUS (v. 7.4) python 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-libs 2.7.5-63.el7_4fixed: vendor fix RHSA-2020:1346
show 9 moreshow fewer
-
Red Hat Enterprise Linux Server EUS (v. 7.5) python 2.7.5-74.el7_5, python-libs 2.7.5-74.el7_5fixed: vendor fix RHSA-2020:1268
-
Red Hat Enterprise Linux Server Optional (v. 7) tkinter 2.7.5-76.el7, python-test 2.7.5-76.el7, python-tools 2.7.5-76.el7fixed: vendor fix RHSA-2018:3041
-
Red Hat Enterprise Linux Server Optional AUS (v. 7.4) tkinter 2.7.5-63.el7_4, python-test 2.7.5-63.el7_4, python-tools 2.7.5-63.el7_4 Red Hat Enterprise Linux Server Optional E4S (v. 7.4) tkinter 2.7.5-63.el7_4, python-test 2.7.5-63.el7_4, python-tools 2.7.5-63.el7_4fixed: vendor fix RHSA-2020:1346
-
Red Hat Enterprise Linux Server Optional EUS (v. 7.5) tkinter 2.7.5-74.el7_5, python-test 2.7.5-74.el7_5, python-tools 2.7.5-74.el7_5fixed: vendor fix RHSA-2020:1268
-
Red Hat Enterprise Linux Server Optional TUS (v. 7.4) tkinter 2.7.5-63.el7_4, python-test 2.7.5-63.el7_4, python-tools 2.7.5-63.el7_4 Red Hat Enterprise Linux Server TUS (v. 7.4) python 2.7.5-63.el7_4, python-libs 2.7.5-63.el7_4fixed: vendor fix RHSA-2020:1346
-
Red Hat Enterprise Linux Workstation (v. 7) python 2.7.5-76.el7, python-libs 2.7.5-76.el7 Red Hat Enterprise Linux Workstation Optional (v. 7) tkinter 2.7.5-76.el7, python-test 2.7.5-76.el7, python-tools 2.7.5-76.el7fixed: vendor fix RHSA-2018:3041
-
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) python27-python 2.7.16-4.el6, python27-tkinter 2.7.16-4.el6, rh-python36-python 3.6.9-2.el6, python27-python-jinja2 2.6-12.el6, python27-python-libs 2.7.16-4.el6, python27-python-test 2.7.16-4.el6, +5 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) python27-python 2.7.16-4.el7, python27-tkinter 2.7.16-4.el7, rh-python36-python 3.6.9-2.el7, python27-python-jinja2 2.6-15.el7, python27-python-libs 2.7.16-4.el7, python27-python-test 2.7.16-4.el7, +5 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) python27-python 2.7.16-4.el7, python27-tkinter 2.7.16-4.el7, python27-python-jinja2 2.6-15.el7, python27-python-libs 2.7.16-4.el7, python27-python-test 2.7.16-4.el7, python27-python-tools 2.7.16-4.el7 Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) python27-python 2.7.16-4.el7, python27-tkinter 2.7.16-4.el7, rh-python36-python 3.6.9-2.el7, python27-python-jinja2 2.6-15.el7, python27-python-libs 2.7.16-4.el7, python27-python-test 2.7.16-4.el7, +5 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) python27-python 2.7.16-4.el7, python27-tkinter 2.7.16-4.el7, rh-python36-python 3.6.9-2.el7, python27-python-jinja2 2.6-15.el7, python27-python-libs 2.7.16-4.el7, python27-python-test 2.7.16-4.el7, +5 morefixed: vendor fix RHSA-2019:1260
-
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-libs 3.6.9-2.el7, rh-python36-python-test 3.6.9-2.el7, rh-python36-python-tools 3.6.9-2.el7, rh-python36-python-tkinter 3.6.9-2.el7fixed: vendor fix RHSA-2019:3725
-
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) python27-python 2.7.16-4.el6, python27-tkinter 2.7.16-4.el6, rh-python36-python 3.6.9-2.el6, python27-python-jinja2 2.6-12.el6, python27-python-libs 2.7.16-4.el6, python27-python-test 2.7.16-4.el6, +5 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) python27-python 2.7.16-4.el7, python27-tkinter 2.7.16-4.el7, rh-python36-python 3.6.9-2.el7, python27-python-jinja2 2.6-15.el7, python27-python-libs 2.7.16-4.el7, python27-python-test 2.7.16-4.el7, +5 morefixed: vendor fix RHSA-2019:1260
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 31 d ago
Exploit prediction
5.04% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- bugs.python.org https://bugs.python.org/issue32981 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 4.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected products
- [UNKNOWN] python
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
bugs.python.org
/issue32981
exploit, issue-tracking, vendor-advisory
-
debian.org
/security/2018/dsa-4306
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3817-2/
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:3505
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:3041
vendor-advisory, third-party-advisory
-
debian.org
/security/2018/dsa-4307
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3817-1/
vendor-advisory, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/JSKPGPZQNTAULHW4UH63KGOOUIDE4RRB/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/AEZ5IQT7OF7Q2NCGIVABOWYGKO7YU3NJ/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/46PVWY5LFP4BRPG3BVQ5QEEFYBVEXHCK/
vendor-advisory
-
access.redhat.com
/errata/RHBA-2019:0327
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:1260
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:3725
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-01/msg00040.html
vendor-advisory, mailing-list, third-party-advisory
-
docs.python.org
/3.6/whatsnew/changelog.html#python-3-6-5-release-candidate-1
product, vendor-advisory
-
docs.python.org
/3.5/whatsnew/changelog.html#python-3-5-6-release-candidate-1
product, vendor-advisory
-
securitytracker.com
/id/1042001
vdb-entry, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2018/09/msg00031.html
mailing-list, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2018-1060
issue-tracking, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2018/09/msg00030.html
mailing-list, third-party-advisory
-
support.hpe.com
/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbst03951en_us
third-party-advisory
-
oracle.com
/security-alerts/cpujan2020.html
third-party-advisory
Sources
- CVE List CVE-2018-1060
- NVD CVE-2018-1060
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.