Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
8.2
CVE-2020-25658: Python RSA Decryption API Allows Unencrypted Data Exposure
CVE-2020-25658 · published 5 years ago
Summary
An attacker can use a specific technique to decrypt parts of encrypted data using Python's RSA decryption API, potentially exposing sensitive information. This affects systems using Python's RSA library for encryption. To protect your data, update to a secure version of Python's RSA library or use an alternate encryption method.
What to do
- Update sybren a. stüvel rsa to version 4.7.
- Update python-rsa_project python-rsa to version 4.7 or later.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| pip | sybren a. stüvel | rsa |
>= 2.1, < 4.7 Fix: upgrade to 4.7
|
| – | python-rsa_project | python-rsa |
>= 2.1, < 4.7 cpe:2.3:a:python-rsa_project:python-rsa:*:*:*:*:*:*:*:* |
| – | redhat | openstack_platform |
13.0 16.0 cpe:2.3:a:redhat:openstack_platform:13.0:*:*:*:*:*:*:* |
| – | fedoraproject | fedora |
33 34 35 cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* |
Original advisory text
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.
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
- https://nvd.nist.gov/vuln/detail/CVE-2020-25658
- https://github.com/sybrenstuvel/python-rsa/issues/165
- https://github.com/sybrenstuvel/python-rsa/commit/dae8ce0d85478e16f2368b23416327...
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-25658
- https://access.redhat.com/errata/RHSA-2020:5634
- https://access.redhat.com/errata/RHSA-2021:0637
- https://access.redhat.com/errata/RHSA-2022:1716
- https://access.redhat.com/security/cve/CVE-2020-25658
- https://bugzilla.redhat.com/show_bug.cgi?id=1889972
- https://github.com/advisories/GHSA-xrx6-fmxq-rjj2
- https://github.com/pypa/advisory-database/tree/main/vulns/rsa/PYSEC-2020-100.yam...
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro...
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro...
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro...
- https://lists.fedoraproject.org/archives/list/[email protected]...
- https://lists.fedoraproject.org/archives/list/[email protected]...
- https://lists.fedoraproject.org/archives/list/[email protected]...
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro...
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro...
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro...
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit (estimated)
- Gives an attacker partial control (estimated)
Type
CWE-327Use of a Broken Cryptographic Algorithm
CWE-385Covert Timing Channel
Timeline
Published12 Nov 2020
Updated3 Nov 2026
First seen6 Mar 2026
Track software like this
Free during beta