Out-of-bounds Read Affecting libssh2-devel package, versions <0:1.4.3-12.amzn2.2.4


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
3.33% (92nd 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-LIBSSH2DEVEL-5538613
  • published17 May 2023
  • disclosed25 Mar 2019

Introduced: 25 Mar 2019

CVE-2019-3860  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 libssh2-devel to version 0:1.4.3-12.amzn2.2.4 or higher.
This issue was patched in ALAS2-2023-2046.

NVD Description

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

An out of bounds read flaw was discovered in libssh2 before 1.8.1 in the way SFTP packets with empty payloads are parsed. A remote attacker who compromises a SSH server may be able to cause a Denial of Service or read data in the client memory.