VDB
CVE-2020-25658
CVE-2020-25658
PUBLISHED
CVSS 7.5 HIGH
Timing attacks in python-rsa
Reported by redhat · Published November 12, 2020
rsa is fixed in 4.7 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| rsa | PyPI | 4.7 |
| python-rsa | python-rsa_project | 4.7 |
Risk scores
CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Sybren A. Stüvel | python-rsa | after 3.0 (inclusive) |
| Sybren A. Stüvel | python-rsa | 3.0 |
| amazon:2 | python3-rsa | 0 |
| PyPI | rsa | 2.1 |
| amazon:2 | python2-rsa | 0 |
Timeline
- Nov 12, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Oct 6, 2021 PoC Published (9 in total, the first dated here)
- Aug 4, 2024 CVE Updated
- Mar 9, 2026 Distribution Patch (7 in total, the first dated here)
- Mar 9, 2026 Security Advisory (8 in total, the first dated here)
- Sep 2, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-25658
vulnetix vdb fixes CVE-2020-25658
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-25658/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_MISC
- FEDORA-2021-783a157adc vendor-advisoryx_refsource_FEDORA
- FEDORA-2021-c1fef03e71 vendor-advisoryx_refsource_FEDORA
- FEDORA-2021-15e50503d6 vendor-advisoryx_refsource_FEDORA
- https://nvd.nist.gov/vuln/detail/CVE-2020-25658 advisory
- https://github.com/advisories/GHSA-xrx6-fmxq-rjj2 advisory
- https://github.com/sybrenstuvel/python-rsa/commit/dae8ce0d85478e16f2368b2341632775313d41ed patch
- https://access.redhat.com/security/cve/CVE-2020-25658 url
- https://bugzilla.redhat.com/show_bug.cgi?id=1889972 url
- https://github.com/pypa/advisory-database/tree/main/vulns/rsa/PYSEC-2020-100.yaml advisory
- https://github.com/sybrenstuvel/python-rsa url
- https://access.redhat.com/errata/RHSA-2022:1716 url
- https://access.redhat.com/errata/RHSA-2021:0637 url
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2SAF67KDGSOHLVFTRDOHNEAFDRSSYIWA url
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/APF364QJ2IYLPDNVFBOEJ24QP2WLVLJP url
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QY4PJWTYSOV7ZEYZVMYIF6XRU73CY6O7 url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2SAF67KDGSOHLVFTRDOHNEAFDRSSYIWA url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/APF364QJ2IYLPDNVFBOEJ24QP2WLVLJP url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QY4PJWTYSOV7ZEYZVMYIF6XRU73CY6O7 url
…and 1 more