There is an overflow bug in the x64_64 Montgomery squaring procedure used in exponentiation with 512-bit moduli. No EC algorithms are affected. Analysis suggests that attacks against 2-prime RSA1024, 3-prime RSA1536, and DSA1024 as a result of this defect would be very difficult to perform and are not believed likely. Attacks against DH512 are considered just feasible. However, for an attack the target would have to re-use the DH512 private key, which is not recommended anyway. Also applications directly using the low level API BN_mod_exp may be affected if they use BN_FLG_CONSTTIME. Fixed in OpenSSL 1.1.1e (Affected 1.1.1-1.1.1d). Fixed in OpenSSL 1.0.2u (Affected 1.0.2-1.0.2t).

References;a=commitdiff;h=419102400a2811582a7a3d4a4e317d72e5ce0a8f;a=commitdiff;h=f1c5eea8a817075d31e43f5876993c6710238c98[email protected]/message/DDHOAATPWJCXRNFMJ2SASDBBNU5RJONY/[email protected]/message/EXDDAOWSAIEFQNBHWYE6PPYFV4QXGMCD/[email protected]/message/XVEP3LAK4JSPRXFO4QF4GG2IVXADV3SO/


Source: MITRE

Published: 2019-12-06

Updated: 2021-02-24

Type: CWE-200

Risk Information

CVSS v2.0

Base Score: 5

Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N

Impact Score: 2.9

Exploitability Score: 10

Severity: MEDIUM

CVSS v3.0

Base Score: 5.3

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Impact Score: 1.4

Exploitability Score: 3.9

Severity: MEDIUM