Bug 2020536 (CVE-2021-43398)

Summary: CVE-2021-43398 cryptopp: a timing leakage may lead to information disclosure
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: alekcejk, aurelien, kwizart, vascom2
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-05 09:09:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2020537, 2020538    
Bug Blocks:    

Description Marian Rehak 2021-11-05 08:37:57 UTC
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.

Upstream Issue:

https://github.com/weidai11/cryptopp/issues/1080

Comment 1 Marian Rehak 2021-11-05 08:38:14 UTC
Created cryptopp tracking bugs for this issue:

Affects: epel-all [bug 2020538]
Affects: fedora-all [bug 2020537]

Comment 2 Product Security DevOps Team 2021-11-05 09:09:23 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.

Comment 3 Nicolas Chauvet (kwizart) 2022-01-03 14:23:01 UTC
FY Upstream as closed this as notabug
https://github.com/weidai11/cryptopp/issues/1080#issuecomment-996527355

As "key lengh value" isn't a sensible information as I understand.