CVE-2023-50782 Python-cryptography: bleichenbacher timing oracle attack against rsa decryption - incomplete fix for cve-2020-25659

High 7.5 Published Updated

A timing oracle in RSA decryption allows remote attackers to decrypt TLS messages, exposing sensitive data in applications using the 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-2023-50782?

CVE-2023-50782 is a high-severity vulnerability in Couchbase Couchbase Server, published on 5 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A flaw was found in the python-cryptography package. This issue may allow a remote attacker to decrypt captured messages in TLS servers that use RSA key exchanges, which may lead to exposure of confidential or sensitive data.

Weakness: CWE-203

Which versions are affected by CVE-2023-50782?

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

PackageAffectedFixed in
cryptography PyPIAll versions42.0.0
cryptography PyPIAll versions42.0.0
cryptography PyPIAll versions42.0.0
Linux distribution packages (29)
openssl-1_1 SUSE:Enterprise Storage 7.1All versions1.1.1d-150200.11.97.1
openssl-1_1 SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions1.1.1d-150200.11.97.1
openssl-1_1 SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions1.1.1d-150200.11.97.1
openssl-1_1 SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSAll versions1.1.1l-150400.7.75.1
openssl-1_1 SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSSAll versions1.1.1l-150400.7.75.1
openssl-1_1 SUSE:Linux Enterprise Micro 5.1All versions1.1.1d-150200.11.97.1
openssl-1_1 SUSE:Linux Enterprise Micro 5.2All versions1.1.1d-150200.11.97.1
openssl-1_1 SUSE:Linux Enterprise Micro 5.3All versions1.1.1l-150400.7.75.1
openssl-1_1 SUSE:Linux Enterprise Micro 5.4All versions1.1.1l-150400.7.75.1
openssl-1_1 SUSE:Linux Enterprise Micro 5.5All versions1.1.1l-150500.17.37.1
openssl-1_1 SUSE:Linux Enterprise Module for Basesystem 15 SP5All versions1.1.1l-150500.17.37.1
openssl-1_1 SUSE:Linux Enterprise Module for Basesystem 15 SP6All versions1.1.1w-150600.5.9.1
openssl-3 SUSE:Linux Enterprise Module for Basesystem 15 SP6All versions3.1.4-150600.5.21.1
openssl-1_1 SUSE:Linux Enterprise Module for Development Tools 15 SP6All versions1.1.1w-150600.5.9.1
openssl-1_1 SUSE:Linux Enterprise Module for Legacy 15 SP6All versions1.1.1w-150600.5.9.1
openssl-1_1 SUSE:Linux Enterprise Server 12 SP5-LTSSAll versions1.1.1d-2.113.1
openssl-1_1 SUSE:Linux Enterprise Server 15 SP2-LTSSAll versions1.1.1d-150200.11.97.1
openssl-1_1 SUSE:Linux Enterprise Server 15 SP3-LTSSAll versions1.1.1d-150200.11.97.1
openssl-1_1 SUSE:Linux Enterprise Server 15 SP4-LTSSAll versions1.1.1l-150400.7.75.1
openssl-1_1 SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5All versions1.1.1d-2.113.1
openssl-1_1 SUSE:Linux Enterprise Server for SAP Applications 15 SP2All versions1.1.1d-150200.11.97.1
openssl-1_1 SUSE:Linux Enterprise Server for SAP Applications 15 SP3All versions1.1.1d-150200.11.97.1
openssl-1_1 SUSE:Linux Enterprise Server for SAP Applications 15 SP4All versions1.1.1l-150400.7.75.1
openssl-3 SUSE:Linux Micro 6.1All versions3.1.4-slfo.1.1_6.1
openssl-1_1 SUSE:Manager Server 4.3All versions1.1.1l-150400.7.75.1
openssl-1_1 openSUSE:Leap 15.5All versions1.1.1l-150500.17.37.1
openssl-1_1 openSUSE:Leap 15.6All versions1.1.1w-150600.5.9.1
openssl-3 openSUSE:Leap 15.6All versions3.1.4-150600.5.21.1
openssl-1_1 openSUSE:Leap Micro 5.5All versions1.1.1l-150500.17.37.1

Products include Couchbase Couchbase Server, Cryptography.io Cryptography, Redhat Ansible Automation Platform, Redhat Enterprise Linux, Redhat Update Infrastructure.

How do I fix CVE-2023-50782?

Upgrade cryptography to 42.0.0 or later.

Is CVE-2023-50782 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-50782 exists.

All Couchbase Couchbase Server vulnerabilities

Sources

Also known as AZL-34309, AZL-35129, BELL-CVE-2023-50782, DEBIAN-CVE-2023-50782, ECHO-96e2-b383-d2c5, GHSA-3ww4-gg4f-jr7f and 19 more.

Is CVE-2023-50782 in your software?

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

Check your SBOMs for free