Integer Overflow or Wraparound Affecting openssl package, versions [0,1.1.1e)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.05% (85th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-OPENSSL-2318779
  • published14 Dec 2021
  • disclosed6 Dec 2019
  • creditUnknown

Introduced: 6 Dec 2019

CVE-2019-1551  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade openssl to version 1.1.1e or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound. 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.

References

CVSS Scores

version 3.1