Integer Overflow or Wraparound Affecting libssh2 package, versions <1.9.0-r1


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.4% (75th 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-ALPINE38-LIBSSH2-474567
  • published21 Oct 2019
  • disclosed21 Oct 2019
  • creditUnknown

Introduced: 21 Oct 2019

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

How to fix?

Upgrade Alpine:3.8 libssh2 to version 1.9.0-r1 or higher.

NVD Description

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

The SSH_MSG_DISCONNECT logic in packet.c has an integer overflow in a bounds check, enabling an attacker to specify an arbitrary (out-of-bounds) offset for a subsequent memory read. A crafted SSH server may be able to disclose sensitive information or cause a denial of service condition on the client system when a user connects to the server.

CVSS Scores

version 3.1