Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. rsa
  4. ›
  5. CVE-2020-25658

CVE-2020-25658: Timing attacks in python-rsa

April 30, 2021 (updated October 26, 2024)

It was found that python-rsa is vulnerable to Bleichenbacher timing attacks. An attacker can use this flaw via the RSA decryption API to decrypt parts of the cipher text encrypted with RSA

References

  • access.redhat.com/errata/RHSA-2020:5634
  • access.redhat.com/errata/RHSA-2021:0637
  • access.redhat.com/errata/RHSA-2022:1716
  • access.redhat.com/security/cve/CVE-2020-25658
  • bugzilla.redhat.com/show_bug.cgi?id=1889972
  • bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-25658
  • github.com/advisories/GHSA-xrx6-fmxq-rjj2
  • github.com/pypa/advisory-database/tree/main/vulns/rsa/PYSEC-2020-100.yaml
  • github.com/sybrenstuvel/python-rsa
  • github.com/sybrenstuvel/python-rsa/commit/dae8ce0d85478e16f2368b2341632775313d41ed
  • github.com/sybrenstuvel/python-rsa/issues/165
  • lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2SAF67KDGSOHLVFTRDOHNEAFDRSSYIWA
  • lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/APF364QJ2IYLPDNVFBOEJ24QP2WLVLJP
  • lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QY4PJWTYSOV7ZEYZVMYIF6XRU73CY6O7
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2SAF67KDGSOHLVFTRDOHNEAFDRSSYIWA
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/APF364QJ2IYLPDNVFBOEJ24QP2WLVLJP
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QY4PJWTYSOV7ZEYZVMYIF6XRU73CY6O7
  • nvd.nist.gov/vuln/detail/CVE-2020-25658

Code Behaviors & Features

Detect and mitigate CVE-2020-25658 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 starting from 2.1 before 4.7

Fixed versions

  • 4.7

Solution

Upgrade to version 4.7 or above.

Impact 5.9 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-327: Use of a Broken or Risky Cryptographic Algorithm
  • CWE-385: Covert Timing Channel

Source file

pypi/rsa/CVE-2020-25658.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:15:57 +0000.