Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. cryptography
  4. ›
  5. CVE-2023-50782

CVE-2023-50782: Python Cryptography package vulnerable to Bleichenbacher timing oracle attack

February 5, 2024 (updated February 27, 2026)

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.

References

  • access.redhat.com/security/cve/CVE-2023-50782
  • bugzilla.redhat.com/show_bug.cgi?id=2254432
  • github.com/advisories/GHSA-3ww4-gg4f-jr7f
  • github.com/pyca/cryptography
  • github.com/pyca/cryptography/issues/9785
  • nvd.nist.gov/vuln/detail/CVE-2023-50782
  • www.couchbase.com/alerts

Code Behaviors & Features

Detect and mitigate CVE-2023-50782 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 42.0.0

Fixed versions

  • 42.0.0

Solution

Upgrade to version 42.0.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-203: Observable Discrepancy
  • CWE-208: Observable Timing Discrepancy
  • CWE-385: Covert Timing Channel

Source file

pypi/cryptography/CVE-2023-50782.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:21 +0000.