CVE-2020-25659
python-cryptography: Bleichenbacher timing oracle attack against RSA decryption
Overview
Description
python-cryptography 3.2 is vulnerable to Bleichenbacher timing attacks in the RSA decryption API, via timed processing of valid PKCS#1 v1.5 ciphertext.
Source: OX vulnerability database
Severity
5.9 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness: CWE-385
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| PyPI | cryptography | <3.2 | 3.2 |
| Seal PyPI | cryptography | >=2.9.2+sp0, <2.9.2+sp999 | 2.9.2+sp999 |
| Seal PyPI | seal-cryptography | >=2.9.2+sp1, <2.9.2+sp999 | 2.9.2+sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 61 fixes
Oracle Linux 1 release · 1 package
fixed 1
python3-cryptography
| Release | Package | Fixed in |
|---|---|---|
| 8 | python3-cryptography | 3.2.1-4.el8 |
Red Hat 2 releases · 10 packages
eol 2
wont fix 1
fixed 9
python-cryptography
rh-python38-python-urllib3
rh-python38-python-pip
rh-python38-python-jinja2
rh-python38-python-babel
rh-python38-python-cryptography
+4
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | python-cryptography | eol | — |
| 7 | python-cryptography +1 | wont fix | — |
| 7 | rh-python38-python-urllib3 | 0:1.25.7-7.el7 | RHSA-2021:3254 |
| 7 | rh-python38-python-pip +1 | 0:19.3.1-2.el7 | RHSA-2021:3254 |
| 7 | rh-python38-python-jinja2 | 0:2.10.3-6.el7 | RHSA-2021:3254 |
| 7 | rh-python38-python-babel | 0:2.7.0-12.el7 | RHSA-2021:3254 |
6 more rows
SUSE Linux Enterprise 3 releases · 19 packages
fixed 26
python-cryptography
python3-opencensus-context
python3-aiocontextvars
python3-opencensus
python3-knack
python3-avro
+13
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | python-cryptography +1 | 2.1.4-7.31.1 | SUSE-SU-2020:3629-1 |
| 15.4 | python3-opencensus-context +1 | 0.1.2-150100.3.3.3 | SUSE-SU-2023:2783-1 |
| 15.4 | python3-aiocontextvars | 0.2.2-150100.3.3.3 | SUSE-SU-2023:2783-1 |
| 15.4 | python3-opencensus | 0.8.0-150100.3.3.3 | SUSE-SU-2023:2783-1 |
| 15.4 | python3-knack | 0.9.0-150100.3.7.3 | SUSE-SU-2023:2783-1 |
| 15.4 | python3-avro | 1.11.0-150100.3.3.3 | SUSE-SU-2023:2783-1 |
20 more rows
SUSE Linux Enterprise Micro 2 releases · 1 package
fixed 2
python3-cryptography
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.1 | python3-cryptography | 3.3.2-150200.16.1 | SUSE-SU-2023:0604-1 |
| 5.2 | python3-cryptography | 3.3.2-150200.16.1 | SUSE-SU-2023:0604-1 |
alpine 4 releases · 1 package
fixed 4
py3-cryptography
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | py3-cryptography | 3.2.1-r0 |
| 3.23 | py3-cryptography | 3.2.1-r0 |
| 3.24 | py3-cryptography | 3.2.1-r0 |
| edge | py3-cryptography | 3.2.1-r0 |
debian 6 releases · 1 package
affected 2
fixed 4
python-cryptography
| Release | Package | Fixed in |
|---|---|---|
| 10 | python-cryptography | affected |
| 11 | python-cryptography | 3.2.1-1 |
| 12 | python-cryptography | 3.2.1-1 |
| 13 | python-cryptography | 3.2.1-1 |
| 14 | python-cryptography | 3.2.1-1 |
| 9 | python-cryptography | affected |
echo 1 release · 1 package
fixed 1
python-cryptography
| Release | Package | Fixed in |
|---|---|---|
| python-cryptography | 3.2.1-1 |
openSUSE 1 release · 3 packages
fixed 3
python36-cryptography
python310-cryptography
python313-cryptography
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | python36-cryptography +2 | 3.3.2-2.4 | openSUSE-SU-2024:11223-1 |
| Tumbleweed | python310-cryptography +2 | 42.0.5-1.1 | openSUSE-SU-2024:13819-1 |
| Tumbleweed | python313-cryptography +1 | 50.0.0-1.1 | openSUSE-SU-2026:11468-1 |
rocky 1 release · 1 package
fixed 1
python3-cryptography
| Release | Package | Fixed in |
|---|---|---|
| 8 | python3-cryptography | 3.2.1-4.el8 |
root.io debian 1 release · 1 package
fixed 1
rootio-python-cryptography
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-python-cryptography | 3.2.1-1 |
ubuntu 4 releases · 1 package
fixed 4
python-cryptography
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | python-cryptography | 2.1.4-1ubuntu1.4 |
| 18.04-ESM | python-cryptography | 2.1.4-1ubuntu1.4 |
| 20.04 | python-cryptography | 2.8-3ubuntu0.1 |
| 20.04-ESM | python-cryptography | 2.8-3ubuntu0.1 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2021:1608
- access.redhat.com https://access.redhat.com/security/cve/CVE-2020-25659
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1778939
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1873581
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1889988
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1891947
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1907429
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1926226
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cryptography.io https://cryptography.io/en/latest/changelog.html#v3-2
Show all 28 references
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-25659
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-36242
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2021:1608
- github.com https://github.com/advisories/GHSA-hggm-jpg3-v476
- github.com https://github.com/pyca/cryptography
- github.com https://github.com/pyca/cryptography/commit/58494b41d6ecb0f56b7c5f05d5f5e3ca0320d494
- github.com https://github.com/pyca/cryptography/pull/5507
- github.com https://github.com/pyca/cryptography/pull/5507/commits/ce1bef6f1ee06ac497ca0c837fbd1c7ef6c2472b
- github.com https://github.com/pyca/cryptography/security/advisories/GHSA-hggm-jpg3-v476
- github.com https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2021-62.yaml
- linux.oracle.com https://linux.oracle.com/cve/CVE-2020-25659.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2021-1608.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2020-25659
- pypi.org https://pypi.org/project/cryptography
- ubuntu.com https://ubuntu.com/security/notices/USN-4613-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2020-25659
- www.oracle.com https://www.oracle.com/security-alerts/cpuapr2022.html
- www.oracle.com https://www.oracle.com/security-alerts/cpujul2022.html
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.