CVE-2018-20406 Modules/_pickle.c in Python before 3.7.1 has an integer overflow via a large LONG_BINPUT value that is mishandled during a "resize to twice the size" attempt. This issue might cause memory exhaustion,...
HighCVSS 7.5
EPSS 5.8%
- Published
- Updated
- Exploit status
- No public exploit known
Description
Modules/_pickle.c in Python before 3.7.1 has an integer overflow via a large LONG_BINPUT value that is mishandled during a "resize to twice the size" attempt. This issue might cause memory exhaustion, but is only relevant if the pickle format is used for serializing tens or hundreds of gigabytes of data. This issue is fixed in: v3.4.10, v3.4.10rc1; v3.5.10, v3.5.10rc1, v3.5.7, v3.5.7rc1, v3.5.8, v3.5.8rc1, v3.5.8rc2, v3.5.9; v3.6.10, v3.6.10rc1, v3.6.11, v3.6.11rc1, v3.6.12, v3.6.7, v3.6.7rc1, v3.6.7rc2, v3.6.8, v3.6.8rc1, v3.6.9, v3.6.9rc1; v3.7.1, v3.7.1rc1, v3.7.1rc2, v3.7.2, v3.7.2rc1, v3.7.3, v3.7.3rc1, v3.7.4, v3.7.4rc1, v3.7.4rc2, v3.7.5, v3.7.5rc1, v3.7.6, v3.7.6rc1, v3.7.7, v3.7.7rc1, v3.7.8, v3.7.8rc1, v3.7.9.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| alpine/python3(Alpine:v3.6) | < 3.6.8-r0 | 3.6.8-r0 |
| alpine/python3(Alpine:v3.7) | < 3.6.8-r0 | 3.6.8-r0 |
| alpine/python3(Alpine:v3.8) | < 3.6.8-r0 | 3.6.8-r0 |
| python | >= 3.4.0, < 3.7.1 | 3.7.1 |
| debian linux | = 8.0 | No fix listed |
| fedoraproject fedora | = 28 | No fix listed |
| fedoraproject fedora | = 29 | No fix listed |
| fedoraproject fedora | = 30 | No fix listed |
References
- security.alpinelinux.org vendor-advisory
- bugs.python.org exploit issue-tracking patch vendor-advisory
- [debian-lts-announce] 20190207 [SECURITY] [DLA 1663-1] python3.4 security update mailing-list third-party-advisory
- github.com patch third-party-advisory
- FEDORA-2019-6e1938a3c5 vendor-advisory
- FEDORA-2019-6baeb15da3 vendor-advisory
- FEDORA-2019-cf725dd20b vendor-advisory
- FEDORA-2019-6b02154aa0 vendor-advisory
- FEDORA-2019-7d9f3cf3ce vendor-advisory
- FEDORA-2019-51f1e08207 vendor-advisory
- security.netapp.com
- USN-4127-2 vendor-advisory
- USN-4127-1 vendor-advisory
- RHSA-2019:3725 vendor-advisory
- openSUSE-SU-2020:0086 vendor-advisory
- [debian-lts-announce] 20200715 [SECURITY] [DLA 2280-1] python3.5 security update mailing-list