CVE-2020-36242 PyCA Cryptography symmetrically encrypting large values can lead to integer overflow
CriticalCVSS 9.1
EPSS 6.8%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
Description
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.
Upgrade path
20 packages: 18 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/py3-cryptography(Alpine v3.13) | < 3.3.2-r0 | 3.3.2-r0 | Fixed |
| alpine/py3-cryptography(Alpine v3.16) | < 3.2.2-r0 | 3.2.2-r0 | Fixed |
| alpine/py3-cryptography(Alpine v3.17) | < 3.2.2-r0 | 3.2.2-r0 | Fixed |
| alpine/py3-cryptography(Alpine v3.18) | < 3.2.2-r0 | 3.2.2-r0 | Fixed |
| alpine/py3-cryptography(Alpine v3.19) | < 3.2.2-r0 | 3.2.2-r0 | Fixed |
| alpine/py3-cryptography(Alpine v3.20) | < 3.2.2-r0 | 3.2.2-r0 | Fixed |
| alpine/py3-cryptography(Alpine v3.21) | < 3.2.2-r0 | 3.2.2-r0 | Fixed |
| alpine/py3-cryptography(Alpine v3.22) | < 3.2.2-r0 | 3.2.2-r0 | Fixed |
| alpine/py3-cryptography(Alpine v3.23) | < 3.2.2-r0 | 3.2.2-r0 | Fixed |
| alpine/py3-cryptography(Alpine v3.24) | < 3.2.2-r0 | 3.2.2-r0 | Fixed |
| cryptography.io cryptography | < 3.3.2 | 3.3.2 | Fixed |
| debian/python-cryptography(Debian 12) | < 3.3.2-1 | 3.3.2-1 | Fixed |
| debian/python-cryptography(Debian 13) | < 3.3.2-1 | 3.3.2-1 | Fixed |
| debian/python-cryptography(Debian 14) | < 3.3.2-1 | 3.3.2-1 | Fixed |
| pypi cryptography(PyPI) | = 3.1; = 3.1.1; = 3.2; = 3.2.1 +3 more | 3.3.2 | Fixed |
| ubuntu/python-cryptography(Ubuntu 16.04) | < 1.2.3-1ubuntu0.3; = 1.0.1-1ubuntu1; = 1.0.2-1; = 1.1-1 +8 more | 1.2.3-1ubuntu0.3 | Fixed |
| ubuntu/python-cryptography(Ubuntu 18.04) | < 2.1.4-1ubuntu1.4; = 1.9-1; = 2.1.3-3; = 2.1.4-1 +6 more | 2.1.4-1ubuntu1.4 | Fixed |
| ubuntu/python-cryptography(Ubuntu 20.04) | < 2.8-3ubuntu0.1; = 2.6.1-3.1; = 2.6.1-4; = 2.6.1-4ubuntu1 +3 more | 2.8-3ubuntu0.1 | Fixed |
| fedoraproject fedora | = 33 | No fix listed | Versions listed |
| oracle communications cloud native core network function cloud native environment | = 1.10.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi cryptography(PyPI) | >= 3.1, < 3.3.2 | 3.3.2 |
| pypi cryptography(PyPI) | = 3.1 | No fix listed |
| pypi cryptography(PyPI) | = 3.1.1 | No fix listed |
| pypi cryptography(PyPI) | = 3.2 | No fix listed |
| pypi cryptography(PyPI) | = 3.2.1 | No fix listed |
| pypi cryptography(PyPI) | = 3.3 | No fix listed |
| pypi cryptography(PyPI) | = 3.3.1 | No fix listed |
| debian/python-cryptography(Debian:12) | < 3.3.2-1 | 3.3.2-1 |
| debian/python-cryptography(Debian:13) | < 3.3.2-1 | 3.3.2-1 |
| debian/python-cryptography(Debian:14) | < 3.3.2-1 | 3.3.2-1 |
| cryptography.io cryptography | < 3.3.2 | 3.3.2 |
| fedoraproject fedora | = 33 | No fix listed |
| oracle communications cloud native core network function cloud native environment | = 1.10.0 | No fix listed |
| alpine/py3-cryptography(Alpine:v3.13) | < 3.3.2-r0 | 3.3.2-r0 |
| alpine/py3-cryptography(Alpine:v3.16) | < 3.2.2-r0 | 3.2.2-r0 |
| alpine/py3-cryptography(Alpine:v3.17) | < 3.2.2-r0 | 3.2.2-r0 |
| alpine/py3-cryptography(Alpine:v3.18) | < 3.2.2-r0 | 3.2.2-r0 |
| alpine/py3-cryptography(Alpine:v3.19) | < 3.2.2-r0 | 3.2.2-r0 |
| alpine/py3-cryptography(Alpine:v3.20) | < 3.2.2-r0 | 3.2.2-r0 |
| alpine/py3-cryptography(Alpine:v3.21) | < 3.2.2-r0 | 3.2.2-r0 |
| alpine/py3-cryptography(Alpine:v3.22) | < 3.2.2-r0 | 3.2.2-r0 |
| alpine/py3-cryptography(Alpine:v3.23) | < 3.2.2-r0 | 3.2.2-r0 |
| alpine/py3-cryptography(Alpine:v3.24) | < 3.2.2-r0 | 3.2.2-r0 |
| ubuntu/python-cryptography(Ubuntu:16.04) | < 1.2.3-1ubuntu0.3 | 1.2.3-1ubuntu0.3 |
| ubuntu/python-cryptography(Ubuntu:16.04) | = 1.0.1-1ubuntu1 | No fix listed |
Show 27 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/python-cryptography(Ubuntu:16.04) | = 1.0.2-1 | No fix listed |
| ubuntu/python-cryptography(Ubuntu:16.04) | = 1.1-1 | No fix listed |
| ubuntu/python-cryptography(Ubuntu:16.04) | = 1.1.1-1 | No fix listed |
| ubuntu/python-cryptography(Ubuntu:16.04) | = 1.1.1-1ubuntu1 | No fix listed |
| ubuntu/python-cryptography(Ubuntu:16.04) | = 1.1.1-1ubuntu2 | No fix listed |
| ubuntu/python-cryptography(Ubuntu:16.04) | = 1.1.1-1ubuntu3 | No fix listed |
| ubuntu/python-cryptography(Ubuntu:16.04) | = 1.2.2-2 | No fix listed |
| ubuntu/python-cryptography(Ubuntu:16.04) | = 1.2.3-1 | No fix listed |
| ubuntu/python-cryptography(Ubuntu:16.04) | = 1.2.3-1ubuntu0.1 | No fix listed |
| ubuntu/python-cryptography(Ubuntu:16.04) | = 1.2.3-1ubuntu0.2 | No fix listed |
| ubuntu/python-cryptography(Ubuntu:18.04) | < 2.1.4-1ubuntu1.4 | 2.1.4-1ubuntu1.4 |
| ubuntu/python-cryptography(Ubuntu:18.04) | = 1.9-1 | No fix listed |
| ubuntu/python-cryptography(Ubuntu:18.04) | = 2.1.3-3 | No fix listed |
| ubuntu/python-cryptography(Ubuntu:18.04) | = 2.1.4-1 | No fix listed |
| ubuntu/python-cryptography(Ubuntu:18.04) | = 2.1.4-1build1 | No fix listed |
| ubuntu/python-cryptography(Ubuntu:18.04) | = 2.1.4-1build2 | No fix listed |
| ubuntu/python-cryptography(Ubuntu:18.04) | = 2.1.4-1ubuntu1 | No fix listed |
| ubuntu/python-cryptography(Ubuntu:18.04) | = 2.1.4-1ubuntu1.1 | No fix listed |
| ubuntu/python-cryptography(Ubuntu:18.04) | = 2.1.4-1ubuntu1.2 | No fix listed |
| ubuntu/python-cryptography(Ubuntu:18.04) | = 2.1.4-1ubuntu1.3 | No fix listed |
| ubuntu/python-cryptography(Ubuntu:20.04) | < 2.8-3ubuntu0.1 | 2.8-3ubuntu0.1 |
| ubuntu/python-cryptography(Ubuntu:20.04) | = 2.6.1-3.1 | No fix listed |
| ubuntu/python-cryptography(Ubuntu:20.04) | = 2.6.1-4 | No fix listed |
| ubuntu/python-cryptography(Ubuntu:20.04) | = 2.6.1-4ubuntu1 | No fix listed |
| ubuntu/python-cryptography(Ubuntu:20.04) | = 2.8-1ubuntu2 | No fix listed |
| ubuntu/python-cryptography(Ubuntu:20.04) | = 2.8-2 | No fix listed |
| ubuntu/python-cryptography(Ubuntu:20.04) | = 2.8-3 | No fix listed |
References
- github.com vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit issue-tracking patch third-party-advisory
- github.com patch
- github.com vendor-advisory
- github.com product
- github.com issue-tracking release-notes third-party-advisory
- github.com issue-tracking patch third-party-advisory
- github.com
- FEDORA-2021-8e36e7ed1a vendor-advisory
- lists.fedoraproject.org
- www.oracle.com patch third-party-advisory
- www.oracle.com patch third-party-advisory
- Debian Security Tracker CVE-2020-36242 vendor-advisory
- security.alpinelinux.org vendor-advisory
- ubuntu.com issue-tracking
- www.cve.org issue-tracking