Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 765166 (CVE-2020-25657) - <dev-python/m2crypto-0.39.0: Bleichenbacher vulnerability (CVE-2020-25657)
Summary: <dev-python/m2crypto-0.39.0: Bleichenbacher vulnerability (CVE-2020-25657)
Alias: CVE-2020-25657
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
Whiteboard: A4 [noglsa]
Depends on: 909677
  Show dependency tree
Reported: 2021-01-12 22:20 UTC by Sam James
Modified: 2023-10-07 18:30 UTC (History)
2 users (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 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-01-12 22:20:50 UTC
CVE text:
"A flaw was found in all released versions of m2crypto, where they are vulnerable to Bleichenbacher timing attacks in the RSA decryption API via the timed processing of valid PKCS#1 v1.5 Ciphertext. The highest threat from this vulnerability is to confidentiality."

The CVE references but that gets called a duplicate of a private bug. So, it's unclear if this has been fixed, but no recent commits seem relevant.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-01-18 17:12:45 UTC
This needs to be fixed upstream in openssl, it seems:

Comment 2 NATTkA bot gentoo-dev 2021-07-29 17:24:35 UTC Comment hidden (obsolete)
Comment 3 NATTkA bot gentoo-dev 2021-07-29 17:33:05 UTC Comment hidden (obsolete)
Comment 4 NATTkA bot gentoo-dev 2021-07-29 17:40:56 UTC Comment hidden (obsolete)
Comment 5 NATTkA bot gentoo-dev 2021-07-29 17:49:07 UTC Comment hidden (obsolete)
Comment 6 NATTkA bot gentoo-dev 2021-07-29 18:05:02 UTC Comment hidden (obsolete)
Comment 7 NATTkA bot gentoo-dev 2021-07-29 18:13:20 UTC
Package list is empty or all packages have requested keywords.
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-05 01:20:39 UTC
From 0.39.0 release notes:
+- Mitigate the Bleichenbacher timing attacks in the RSA
+  decryption API (CVE-2020-25657)
Comment 9 Larry the Git Cow gentoo-dev 2023-07-05 01:24:17 UTC
The bug has been referenced in the following commit(s):

commit 7bb1942539605a4b4194a60b007aec3ca57a9139
Author:     Sam James <>
AuthorDate: 2023-07-05 01:23:08 +0000
Commit:     Sam James <>
CommitDate: 2023-07-05 01:23:38 +0000

    dev-python/m2crypto: add 0.39.0
    Signed-off-by: Sam James <>

 dev-python/m2crypto/Manifest               |  1 +
 dev-python/m2crypto/m2crypto-0.39.0.ebuild | 71 ++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)
Comment 10 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-08-04 15:08:12 UTC
cleanup done.
Comment 11 Hans de Graaff gentoo-dev Security 2023-09-03 13:54:48 UTC
GLSA vote: no.