Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 822009 (CVE-2021-43398) - dev-libs/crypto++: correlation between execution time and privkey length
Summary: dev-libs/crypto++: correlation between execution time and privkey length
Status: RESOLVED INVALID
Alias: CVE-2021-43398
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://github.com/weidai11/cryptopp/...
Whiteboard: B4 [upstream]
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-05 20:40 UTC by John Helmert III
Modified: 2022-10-03 01:48 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-11-05 20:40:28 UTC
CVE-2021-43398:

Crypto++ (aka Cryptopp) 8.6.0 and earlier contains a timing leakage in MakePublicKey(). There is a clear correlation between execution time and private key length, which may cause disclosure of the length information of the private key. This might allow attackers to conduct timing attacks.
Comment 1 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-10-03 01:48:25 UTC
"Hi Everyone,

We are going to close this a "not a bug". We believe it is expected behavior. We don't believe the CVE is valid.

@CindyZhouYH, if you can provide a test program and test data we would be happy to revisit it."

*shrug*