cve.bz

CVE-2019-17498 Year 2038 problem, Y2K38, Y2038, Epochalypse

8.1 highExploit referenceEPSS 3.8%Fix available

High (8.1). EPSS 3.8% estimated probability of exploitation activity in the next 30 days.

On this page
In libssh2 v1.9.0 and earlier versions, 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.

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
EPSS
3.8% (unchanged from 3.8% a week ago; 3.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 90th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-17498 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-17498?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-17498?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-17498 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2019-17498

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2019-17498](https://cve.bz/cve/badge/CVE-2019-17498.svg)](https://cve.bz/cve/CVE-2019-17498)

HTML:

<a href="https://cve.bz/cve/CVE-2019-17498"><img src="https://cve.bz/cve/badge/CVE-2019-17498.svg" alt="CVE-2019-17498"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libssh2:libssh2through 1.9.0
fedoraproject:fedora30
fedoraproject:fedora31
opensuse:leap15.1
debian:debian_linux8.0
debian:debian_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8libssh21.4.3-4.1+deb8u6DLA-1991-1
Debian9libssh21.7.0-1+deb9u2DLA-2848-1
Debian10libssh21.8.0-2.1+deb10u1DLA-3559-1
Debian12, 13, 14libssh21.9.0-1DEBIAN-CVE-2019-17498
UbuntuPro:14.04:LTSlibssh21.4.3-2ubuntu0.2+esm2UBUNTU-CVE-2019-17498
UbuntuPro:16.04:LTSlibssh21.5.0-2ubuntu0.1+esm1UBUNTU-CVE-2019-17498 USN-5308-1
UbuntuPro:18.04:LTS, Pro:20.04:LTSlibssh2no fix listedUBUNTU-CVE-2019-17498
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morelibssh2, libssh2-docs, libssh2-devel and 1 more0:1.8.0-4.el7RHSA-2020:3915
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Desktop 12 SP4 and 17 morelibssh2_org1.4.3-20.14.1SUSE-SU-2019:2936-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 17 morelibssh2_org1.11.0-150000.4.19.1SUSE-RU-2023:4192-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Module for Basesystem 15 SP1 and 3 morelibssh2_org1.9.0-4.13.1SUSE-SU-2020:3551-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 morelibssh2_org1.8.0-4.10.1SUSE-SU-2019:2900-2
SUSELinux Enterprise Module for Basesystem 15libssh2_org1.8.0-4.10.1SUSE-SU-2019:2900-1
SUSELinux Enterprise Point of Sale 11 SP3libssh2_org1.2.9-4.2.12.18.1SUSE-SU-2019:14226-1
SUSELinux Enterprise Server 11 SP4-LTSSlibssh2_org1.4.3-17.12.1SUSE-SU-2019:14206-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5libssh2_org1.11.0-29.6.1SUSE-RU-2023:4066-1
openSUSELeap 15.1libssh2_org1.8.0-lp151.6.3.1openSUSE-SU-2019:2483-1
openSUSELeap 15.1libssh2_org1.9.0-lp151.6.6.1openSUSE-SU-2020:2126-1
openSUSELeap 15.2libssh2_org1.9.0-lp152.8.3.1openSUSE-SU-2020:2129-1
openSUSELeap 15.4, Leap 15.5, Leap Micro 5.3 and 1 morelibssh2_org1.11.0-150000.4.19.1SUSE-RU-2023:4192-1
openSUSETumbleweedlibssh2_org1.9.0-3.6openSUSE-SU-2024:10999-1
Alpinev3.9, v3.10, v3.11 and 13 morelibssh21.9.0-r1ALPINE-CVE-2019-17498
Azure Linux2libssh21.9.0-1AZL-6650

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This flaw needs a malicious MITM SSH server. When an application compiled with libssh2 connects to such a MITM SSH server, the server can trigger an integer overflow leading to an OOB read in the SSH_MSG_DISCONNECT logic. This can cause the application compiled with libssh2 to crash. This is strictly a client side crash and the SSH server may not be affected.

Also note that when a user connects to a malicious MITM server there is already a risk of disclosing password/keys irrespective of the flaw.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7libssh2-0:1.8.0-4.el7Fixed 2020-09-29RHSA-2020:3915
Red Hat OpenShift Doopenshiftdo/odo-init-image-rhel7:1.1.3-2Fixed 2021-03-22RHSA-2021:0949
Red Hat Enterprise Linux 6libssh2Out of support scope
Red Hat Enterprise Linux 8virt:rhel/libssh2Not affected
Red Hat Enterprise Linux 8 Advanced Virtualizationvirt:8.0/libssh2Will not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-17498.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON