CVE-2020-25659 RSA decryption vulnerable to Bleichenbacher timing vulnerability

Medium 5.9 Published Updated

Attackers can exploit timing side-channels in RSA decryption to potentially recover plaintext, affecting applications using the python-cryptography library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-25659?

CVE-2020-25659 is a medium-severity vulnerability in python-cryptography, published on 11 Jan 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-385

Which versions are affected by CVE-2020-25659?

3 open source packages ship an affected version, including cryptography. It affects 2 products.

PackageAffectedFixed in
cryptography PyPIAll versions3.2
cryptography PyPIAll versions3.2
cryptography PyPIAll versions3.2.1
Linux distribution packages (23)
python-cryptography SUSE:Enterprise Storage 5All versions2.1.4-7.31.1
python-cryptography SUSE:HPE Helion OpenStack 8All versions2.1.4-7.31.1
python-cryptography SUSE:Linux Enterprise Module for Basesystem 15 SP2All versions2.8-3.3.1
python-cryptography SUSE:Linux Enterprise Module for Basesystem 15 SP4All versions3.3.2-150400.16.3.1
python-cryptography SUSE:Linux Enterprise Module for Python 2 15 SP2All versions2.8-3.3.1
python-cryptography SUSE:Linux Enterprise Server 12 SP2-BCLAll versions2.1.4-7.31.1
python-cryptography SUSE:Linux Enterprise Server 12 SP2-LTSSAll versions2.1.4-7.31.1
python-cryptography SUSE:Linux Enterprise Server 12 SP3-BCLAll versions2.1.4-7.31.1
python-cryptography SUSE:Linux Enterprise Server 12 SP3-LTSSAll versions2.1.4-7.31.1
python-cryptography SUSE:Linux Enterprise Server 12 SP4-LTSSAll versions2.1.4-7.31.1
python-cryptography SUSE:Linux Enterprise Server 12 SP5All versions2.1.4-7.31.1
python-cryptography SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions2.1.4-7.31.1
python-cryptography SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions2.1.4-7.31.1
python-cryptography SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions2.1.4-7.31.1
python-cryptography SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions2.1.4-7.31.1
python-cryptography SUSE:OpenStack Cloud 7All versions2.1.4-7.31.1
python-cryptography SUSE:OpenStack Cloud 8All versions2.1.4-7.31.1
python-cryptography SUSE:OpenStack Cloud 9All versions2.1.4-7.31.1
python-cryptography SUSE:OpenStack Cloud Crowbar 8All versions2.1.4-7.31.1
python-cryptography SUSE:OpenStack Cloud Crowbar 9All versions2.1.4-7.31.1
python-cryptography openSUSE:Leap 15.2All versions2.8-lp152.2.3.1
python-cryptography openSUSE:Leap 15.4All versions3.3.2-150400.16.3.1
python-cryptography-vectors openSUSE:Leap 15.4All versions3.3.2-150400.7.3.1

Products include Cryptography.io Cryptography, Oracle Communications Cloud Native Core Network Function Cloud Native Environment.

How do I fix CVE-2020-25659?

Upgrade cryptography to a fixed version for your release line: 3.2 or 3.2.1.

Is CVE-2020-25659 being exploited?

There is no known exploitation of CVE-2020-25659 in the wild and no public exploit code.

Sources

Also known as ALPINE-CVE-2020-25659, DEBIAN-CVE-2020-25659, GHSA-hggm-jpg3-v476, MGASA-2020-0438, MINI-v93q-6867-pj79, PYSEC-2021-62 and 6 more.

Is CVE-2020-25659 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free