Integer Overflow or Wraparound Affecting openssl-perl package, versions <1:1.0.2k-19.amzn2.0.7


Severity

Recommended
low

Based on Amazon Linux security rating.

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-AMZN2-OPENSSLPERL-1702505
  • published27 Sept 2021
  • disclosed6 Dec 2019

Introduced: 6 Dec 2019

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

How to fix?

Upgrade Amazon-Linux:2 openssl-perl to version 1:1.0.2k-19.amzn2.0.7 or higher.
This issue was patched in ALAS2-2021-1687.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openssl-perl package and not the openssl-perl package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

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

CVSS Scores

version 3.1