Skip to content

Commit

Permalink
Fix an overflow bug in rsaz_512_sqr
Browse files Browse the repository at this point in the history
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.

CVE-2019-1551

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from #10576)
  • Loading branch information
Andy Polyakov authored and bernd-edlinger committed Dec 4, 2019
1 parent b39c047 commit f1c5eea
Showing 1 changed file with 206 additions and 193 deletions.

0 comments on commit f1c5eea

Please sign in to comment.