Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2018-20406

Published: 23 December 2018

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.

Notes

AuthorNote
mdeslaur
bug says 2.7 is not affected

Priority

Low

Cvss 3 Severity Score

7.5

Score breakdown

Status

Package Release Status
python3.5
Launchpad, Ubuntu, Debian
focal Does not exist

groovy Does not exist

jammy Does not exist

kinetic Does not exist

lunar Does not exist

bionic Does not exist

cosmic Does not exist

disco Does not exist

eoan Does not exist

hirsute Does not exist

impish Does not exist

trusty Needed

upstream Needs triage

xenial
Released (3.5.2-2ubuntu0~16.04.8)
mantic Does not exist

Patches:

upstream: https://github.com/python/cpython/commit/ef33dd6036aafbd3f06c1d56e2b1a81dae3da63c


python3.6
Launchpad, Ubuntu, Debian
bionic
Released (3.6.7-1~18.04)
cosmic
Released (3.6.7-1~18.10)
disco Does not exist

eoan Does not exist

focal Does not exist

trusty Does not exist

upstream
Released (3.6.7)
xenial Does not exist

groovy Does not exist

jammy Does not exist

kinetic Does not exist

lunar Does not exist

hirsute Does not exist

impish Does not exist

mantic Does not exist

Patches:


upstream: https://github.com/python/cpython/commit/71a9c65e74a70b6ed39adc4ba81d311ac1aa2acc

python3.7
Launchpad, Ubuntu, Debian
bionic Not vulnerable
(3.7.3~rc1-1)
cosmic Not vulnerable
(3.7.3~rc1-1)
groovy Does not exist

jammy Does not exist

kinetic Does not exist

lunar Does not exist

disco Not vulnerable
(3.7.3-2)
eoan Not vulnerable
(3.7.3-2)
focal Does not exist

hirsute Does not exist

impish Does not exist

trusty Does not exist

upstream
Released (3.7.1)
xenial Does not exist

mantic Does not exist

Patches:



upstream: https://github.com/python/cpython/commit/ef4306b24c9034d6b37bb034e2ebe82e745d4b77
python2.7
Launchpad, Ubuntu, Debian
hirsute Not vulnerable
(2.7.16-2)
groovy Not vulnerable
(2.7.16-2)
jammy Not vulnerable
(2.7.16-2)
kinetic Not vulnerable
(2.7.16-2)
lunar Does not exist

bionic Not vulnerable
(2.7.15~rc1-1ubuntu0.1)
cosmic Not vulnerable
(2.7.15-4ubuntu4)
disco Not vulnerable
(2.7.16-2)
eoan Not vulnerable
(2.7.16-2)
focal Not vulnerable
(2.7.16-2)
impish Not vulnerable
(2.7.16-2)
trusty Not vulnerable
(2.7.6-8ubuntu0.5)
upstream Needs triage

xenial Not vulnerable
(2.7.12-1ubuntu0~16.04.4)
mantic Does not exist

python3.4
Launchpad, Ubuntu, Debian
groovy Does not exist

jammy Does not exist

kinetic Does not exist

lunar Does not exist

bionic Does not exist

cosmic Does not exist

disco Does not exist

eoan Does not exist

focal Does not exist

hirsute Does not exist

impish Does not exist

trusty
Released (3.4.3-1ubuntu1~14.04.7+esm2)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only)
upstream
Released (3.4.2-1+deb8u2)
xenial Does not exist

mantic Does not exist

Patches:
upstream: https://github.com/python/cpython/commit/4b42d575bf0fb01192b3ec54b7e224b238691527



Severity score breakdown

Parameter Value
Base score 7.5
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality None
Integrity impact None
Availability impact High
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H