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-2020-36242

Published: 7 February 2021

In the cryptography package before 3.3.2 for Python, certain sequences of update calls to symmetrically encrypt multi-GB values could result in an integer overflow and buffer overflow, as demonstrated by the Fernet class.

Notes

AuthorNote
mdeslaur
Versions in groovy and earlier don't support chunking in
update_into. Attempting reproducer on groovy and focal errors
out with:
OverflowError: integer 4294967296 does not fit '32-bit int'
which seems to indicate there is a size check being performed
and they aren't vulnerable to this issue.

Priority

Medium

Cvss 3 Severity Score

9.1

Score breakdown

Status

Package Release Status
python-cryptography
Launchpad, Ubuntu, Debian
bionic Not vulnerable
(2.1.4-1ubuntu1.4)
focal Not vulnerable
(2.8-3ubuntu0.1)
groovy Not vulnerable
(3.0-1ubuntu0.1)
trusty Does not exist

upstream
Released (3.3.2)
xenial Not vulnerable
(1.2.3-1ubuntu0.3)
Patches:
upstream: https://github.com/pyca/cryptography/commit/82b6ce28389f0a317bc55ba2091a74b346db7cae

Severity score breakdown

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