CVE-2021-43398

Source
https://cve.org/CVERecord?id=CVE-2021-43398
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-43398.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-43398
Published
2021-11-04T21:15:09.520Z
Modified
2026-04-10T04:40:04.988756Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
[none]
Details

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. NOTE: this report is disputed by the vendor and multiple third parties. The execution-time differences are intentional. A user may make a choice of a longer key as a tradeoff between strength and performance. In making this choice, the amount of information leaked to an adversary is of infinitesimal value

References

Affected packages

Git / github.com/weidai11/cryptopp

Affected ranges

Type
GIT
Repo
https://github.com/weidai11/cryptopp
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "8.6.0"
        }
    ]
}

Affected versions

Other
CRYPTOPP_5_0
CRYPTOPP_5_1
CRYPTOPP_5_2
CRYPTOPP_5_2_1
CRYPTOPP_5_2_3
CRYPTOPP_5_3_0
CRYPTOPP_5_4
CRYPTOPP_5_5
CRYPTOPP_5_5_1
CRYPTOPP_5_5_2
CRYPTOPP_5_6_0
CRYPTOPP_5_6_1
CRYPTOPP_5_6_2
CRYPTOPP_5_6_3
CRYPTOPP_5_6_4
CRYPTOPP_5_6_5
CRYPTOPP_6_0_0
CRYPTOPP_7_0_0
CRYPTOPP_8_0_0
CRYPTOPP_8_1_0
CRYPTOPP_8_2_0
CRYPTOPP_8_3_0
CRYPTOPP_8_4_0
CRYPTOPP_8_5_0
CRYPTOPP_8_6_0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-43398.json"