CVEfocus › CVE database › CVE-2023-50782

CVE-2023-50782Python-cryptography: bleichenbacher timing oracle attack against rsa decryption -…

CVSS 7.5 HighEPSS 1.2% (higher than 69% of CVEs)Published 2024-02-05Updated 2026-03-24Assigner: redhat

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.

CWE-203

What to do

Fixed builds are available from Debian, PyPI, Ubuntu: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
3Fix pending
2Will not fix
5Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04python-cryptographyNot affected
vulnerable_code_not_present
Ubuntu 22.04python-cryptographyFixed3.4.8-1ubuntu2.2UBUNTU-CVE-2023-50782
Ubuntu 20.04python-cryptographyFixed2.8-3ubuntu0.3UBUNTU-CVE-2023-50782
Ubuntu 18.04python-cryptographyFix pending2.1.4-1ubuntu1.4+esm1 (Ubuntu Pro)UBUNTU-CVE-2023-50782
Ubuntu 16.04python-cryptographyFix pending1.2.3-1ubuntu0.3+esm1 (Ubuntu Pro)UBUNTU-CVE-2023-50782
Debian 14python-cryptographyFixed42.0.5-1DEBIAN-CVE-2023-50782
Debian 13python-cryptographyFixed42.0.5-1DEBIAN-CVE-2023-50782
Debian 12python-cryptographyFix pendingDEBIAN-CVE-2023-50782
Red Hat Enterprise Linux 9python-cryptographyNot affected
Red Hat Enterprise Linux 9python3-cryptographyNot affected
Red Hat Enterprise Linux 8python-cryptographyNot affected
Red Hat Enterprise Linux 8python3-cryptographyNot affected
Red Hat Enterprise Linux 7python-cryptographyWill not fix
Out of support scope
Red Hat Enterprise Linux 7python2-cryptographyWill not fix
Out of support scope
PyPI librarycryptographyFixed42.0.0GHSA-3ww4-gg4f-jr7f

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.