Vulnerabilities > CVE-2019-20788 - Integer Overflow or Wraparound vulnerability in multiple products

047910
CVSS 9.8 - CRITICAL
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
HIGH
Integrity impact
HIGH
Availability impact
HIGH
network
low complexity
libvnc-project
canonical
debian
siemens
CWE-190
critical
nessus

Summary

libvncclient/cursor.c in LibVNCServer through 0.9.12 has a HandleCursorShape integer overflow and heap-based buffer overflow via a large height or width value. NOTE: this may overlap CVE-2019-15690.

Common Weakness Enumeration (CWE)

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Forced Integer Overflow
    This attack forces an integer variable to go out of range. The integer variable is often used as an offset such as size of memory allocation or similarly. The attacker would typically control the value of such variable and try to get it out of range. For instance the integer in question is incremented past the maximum possible value, it may wrap to become a very small, or negative number, therefore providing a very incorrect value which can lead to unexpected behavior. At worst the attacker can execute arbitrary code.

Nessus

  • NASL familyCentOS Local Security Checks
    NASL idCENTOS_RHSA-2020-0913.NASL
    descriptionThe remote Redhat Enterprise Linux 7 host has packages installed that are affected by a vulnerability as referenced in the RHSA-2020:0913 advisory. - libvncserver: HandleCursorShape() integer overflow resulting in heap-based buffer overflow (CVE-2019-15690) Note that Nessus has not tested for this issue but has instead relied only on the application
    last seen2020-06-06
    modified2020-03-26
    plugin id134913
    published2020-03-26
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/134913
    titleCentOS 7 : libvncserver (CESA-2020:0913)
  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2020-624.NASL
    descriptionThis update for LibVNCServer fixes the following issues : - CVE-2019-15690: Fixed a heap buffer overflow (bsc#1160471). - CVE-2019-15681: Fixed a memory leak which could have allowed to a remote attacker to read stack memory (bsc#1155419). - CVE-2019-20788: Fixed a integer overflow and heap-based buffer overflow via a large height or width value (bsc#1170441). This update was imported from the SUSE:SLE-15:Update update project.
    last seen2020-05-15
    modified2020-05-11
    plugin id136453
    published2020-05-11
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/136453
    titleopenSUSE Security Update : LibVNCServer (openSUSE-2020-624)
  • NASL familySuSE Local Security Checks
    NASL idSUSE_SU-2020-1165-1.NASL
    descriptionThis update for LibVNCServer fixes the following issues : CVE-2019-15690: Fixed a heap buffer overflow (bsc#1160471). CVE-2019-15681: Fixed a memory leak which could have allowed to a remote attacker to read stack memory (bsc#1155419). CVE-2019-20788: Fixed a integer overflow and heap-based buffer overflow via a large height or width value (bsc#1170441). Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-05-12
    modified2020-05-07
    plugin id136396
    published2020-05-07
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/136396
    titleSUSE SLES12 Security Update : LibVNCServer (SUSE-SU-2020:1165-1)
  • NASL familySuSE Local Security Checks
    NASL idSUSE_SU-2020-1164-1.NASL
    descriptionThis update for LibVNCServer fixes the following issues : CVE-2019-15690: Fixed a heap buffer overflow (bsc#1160471). CVE-2019-15681: Fixed a memory leak which could have allowed to a remote attacker to read stack memory (bsc#1155419). CVE-2019-20788: Fixed a integer overflow and heap-based buffer overflow via a large height or width value (bsc#1170441). Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-05-12
    modified2020-05-07
    plugin id136395
    published2020-05-07
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/136395
    titleSUSE SLED15 / SLES15 Security Update : LibVNCServer (SUSE-SU-2020:1164-1)

Redhat

advisories
  • bugzilla
    id1811948
    titleCVE-2019-15690 libvncserver: HandleCursorShape() integer overflow resulting in heap-based buffer overflow
    oval
    OR
    • commentRed Hat Enterprise Linux must be installed
      ovaloval:com.redhat.rhba:tst:20070304026
    • AND
      • commentRed Hat Enterprise Linux 7 is installed
        ovaloval:com.redhat.rhba:tst:20150364027
      • OR
        • AND
          • commentlibvncserver-devel is earlier than 0:0.9.9-14.el7_7
            ovaloval:com.redhat.rhsa:tst:20200913001
          • commentlibvncserver-devel is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20141826002
        • AND
          • commentlibvncserver is earlier than 0:0.9.9-14.el7_7
            ovaloval:com.redhat.rhsa:tst:20200913003
          • commentlibvncserver is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20141826004
    rhsa
    idRHSA-2020:0913
    released2020-03-23
    severityImportant
    titleRHSA-2020:0913: libvncserver security update (Important)
  • bugzilla
    id1811948
    titleCVE-2019-15690 libvncserver: HandleCursorShape() integer overflow resulting in heap-based buffer overflow
    oval
    OR
    • commentRed Hat Enterprise Linux must be installed
      ovaloval:com.redhat.rhba:tst:20070304026
    • AND
      • commentRed Hat Enterprise Linux 8 is installed
        ovaloval:com.redhat.rhba:tst:20193384074
      • OR
        • AND
          • commentlibvncserver-debugsource is earlier than 0:0.9.11-9.el8_1.2
            ovaloval:com.redhat.rhsa:tst:20200920001
          • commentlibvncserver-debugsource is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20200920002
        • AND
          • commentlibvncserver is earlier than 0:0.9.11-9.el8_1.2
            ovaloval:com.redhat.rhsa:tst:20200920003
          • commentlibvncserver is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20141826004
        • AND
          • commentlibvncserver-devel is earlier than 0:0.9.11-9.el8_1.2
            ovaloval:com.redhat.rhsa:tst:20200920005
          • commentlibvncserver-devel is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20141826002
    rhsa
    idRHSA-2020:0920
    released2020-03-23
    severityImportant
    titleRHSA-2020:0920: libvncserver security update (Important)
rpms
  • libvncserver-0:0.9.9-14.el7_7
  • libvncserver-debuginfo-0:0.9.9-14.el7_7
  • libvncserver-devel-0:0.9.9-14.el7_7
  • libvncserver-0:0.9.11-9.el8_1.2
  • libvncserver-debuginfo-0:0.9.11-9.el8_1.2
  • libvncserver-debugsource-0:0.9.11-9.el8_1.2
  • libvncserver-devel-0:0.9.11-9.el8_1.2
  • libvncserver-0:0.9.11-9.el8_0.2
  • libvncserver-debuginfo-0:0.9.11-9.el8_0.2
  • libvncserver-debugsource-0:0.9.11-9.el8_0.2