VDB
CVE-2018-1061
CVE-2018-1061
PUBLISHED
CVSS 6.5 MEDIUM
Reported by redhat · Published June 19, 2018
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python-libs | Amazon Linux | 2.7.16-1.amzn2.0.1 |
| python-debug | Amazon Linux | 2.7.16-1.amzn2.0.1 |
| tkinter | Amazon Linux | 2.7.16-1.amzn2.0.1 |
| python3 | Alpine | 3.6.6-r0, 3.6.5-r0, 3.5.6-r0 |
| python-tools | Amazon Linux | 2.7.16-1.amzn2.0.1 |
| debian/python-3.13 | debian | 3.7.0-beta3, 3.6.5-rc1, 3.5.6-rc1, 3.4.9-rc1, 2.7.15-rc1 |
| debian/python-3.11 | debian | 3.7.0-beta3, 3.6.5-rc1, 3.5.6-rc1, 3.4.9-rc1, 2.7.15-rc1 |
| python2.7 | Ubuntu:14.04:LTS | 2.7.6-8ubuntu0.5 |
| python | DHI | 3.7.0-beta3, 3.6.5-rc1, 3.5.6-rc1, 3.4.9-rc1, 2.7.15-rc1 |
Risk scores
CVSS 3.0
6.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| [UNKNOWN] | python | python 2.7.15, python 3.4.9, python 3.5.6 |
| [UNKNOWN] | python | 2.7.15, 3.4.9, 3.5.6 |
Timeline
- Apr 26, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 6, 2026 Distribution Patch (12 in total, the first dated here)
- Mar 6, 2026 Security Advisory (15 in total, the first dated here)
- Sep 26, 2026 Coalition ESS Score
- Oct 15, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-1061
vulnetix vdb fixes CVE-2018-1061
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-1061/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- DSA-4306 vendor-advisoryx_refsource_DEBIAN
- x_refsource_CONFIRM
- 1042001 vdb-entryx_refsource_SECTRACK
- [debian-lts-announce] 20180926 [SECURITY] [DLA 1520-1] python3.4 security update mailing-listx_refsource_MLIST
- x_refsource_CONFIRM
- USN-3817-2 vendor-advisoryx_refsource_UBUNTU
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- RHSA-2018:3505 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:3041 vendor-advisoryx_refsource_REDHAT
- DSA-4307 vendor-advisoryx_refsource_DEBIAN
- USN-3817-1 vendor-advisoryx_refsource_UBUNTU
- [debian-lts-announce] 20180925 [SECURITY] [DLA 1519-1] python2.7 security update mailing-listx_refsource_MLIST
- FEDORA-2019-6e1938a3c5 vendor-advisoryx_refsource_FEDORA
- FEDORA-2019-cf725dd20b vendor-advisoryx_refsource_FEDORA
- FEDORA-2019-51f1e08207 vendor-advisoryx_refsource_FEDORA
- RHBA-2019:0327 vendor-advisoryx_refsource_REDHAT
- RHSA-2019:1260 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- RHSA-2019:3725 vendor-advisoryx_refsource_REDHAT
…and 1 more