Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 760702 (CVE-2020-25658) - <dev-python/rsa-4.7: timing attack vulnerability (CVE-2020-25658)
Summary: <dev-python/rsa-4.7: timing attack vulnerability (CVE-2020-25658)
Alias: CVE-2020-25658
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
Whiteboard: B4 [glsa?]
Depends on:
Reported: 2020-12-19 08:12 UTC by John Helmert III
Modified: 2021-03-20 04:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III gentoo-dev Security 2020-12-19 08:12:33 UTC

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.

Upstream issue at $URL. Issue was closed by a patch, but it seems there's some uncertainty about whether the patch adequately addresses the security issue.
Comment 1 Sam James archtester gentoo-dev Security 2021-01-10 12:39:19 UTC
4.7 is now out with a proper fix, it seems
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-01-10 19:01:10 UTC
I'm going to push it shortly, just want to test all revdeps.
Comment 3 NATTkA bot gentoo-dev 2021-01-10 19:04:55 UTC Comment hidden (obsolete)
Comment 4 NATTkA bot gentoo-dev 2021-01-10 19:21:00 UTC Comment hidden (obsolete)
Comment 5 Sam James archtester gentoo-dev Security 2021-01-11 19:13:16 UTC
arm64 done
Comment 6 Sam James archtester gentoo-dev Security 2021-01-11 19:13:54 UTC
arm done
Comment 7 Sam James archtester gentoo-dev Security 2021-01-11 22:19:59 UTC
amd64 ppc sparc x86 (ALLARCHES) done

all arches done
Comment 8 Sam James archtester gentoo-dev Security 2021-01-11 22:33:29 UTC
Please cleanup, thanks!
Comment 9 Larry the Git Cow gentoo-dev 2021-01-11 22:48:46 UTC
The bug has been referenced in the following commit(s):

commit 4a0a76ae11cccd6046a21ea096d5ead335955603
Author:     Michał Górny <>
AuthorDate: 2021-01-11 22:48:09 +0000
Commit:     Michał Górny <>
CommitDate: 2021-01-11 22:48:12 +0000

    dev-python/rsa: Remove old
    Signed-off-by: Michał Górny <>

 dev-python/rsa/Manifest       |  1 -
 dev-python/rsa/rsa-4.2.ebuild | 35 -----------------------------------
 2 files changed, 36 deletions(-)
Comment 10 NATTkA bot gentoo-dev 2021-03-19 21:41:01 UTC
Unable to check for sanity:

> no match for package: dev-python/rsa-4.7