ID CVE-2017-5885
Summary Multiple integer overflows in the (1) vnc_connection_server_message and (2) vnc_color_map_set functions in gtk-vnc before 0.7.0 allow remote servers to cause a denial of service (crash) or possibly execute arbitrary code via vectors involving SetColorMapEntries, which triggers a buffer overflow.
References
Vulnerable Configurations
  • Fedora 25
    cpe:2.3:o:fedoraproject:fedora:25
  • cpe:2.3:a:gnome:gtk-vnc:0.6.0
    cpe:2.3:a:gnome:gtk-vnc:0.6.0
CVSS
Base: 7.5 (as of 01-03-2017 - 13:01)
Impact:
Exploitability:
CWE CWE-190
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.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
nessus via4
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-3203-1.NASL
    description It was discovered that gtk-vnc incorrectly validated certain data. A malicious server could use this issue to cause gtk-vnc to crash, resulting in a denial of service, or possibly execute arbitrary code. Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-12-01
    plugin id 97303
    published 2017-02-21
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=97303
    title Ubuntu 12.04 LTS / 14.04 LTS : gtk-vnc vulnerabilities (USN-3203-1)
  • NASL family Huawei Local Security Checks
    NASL id EULEROS_SA-2017-1182.NASL
    description According to the versions of the gtk-vnc package installed, the EulerOS installation on the remote host is affected by the following vulnerabilities : - It was found that gtk-vnc lacked proper bounds checking while processing messages using RRE, hextile, or copyrect encodings. A remote malicious VNC server could use this flaw to crash VNC viewers which are based on the gtk-vnc library. (CVE-2017-5884) - An integer overflow flaw was found in gtk-vnc. A remote malicious VNC server could use this flaw to crash VNC viewers which are based on the gtk-vnc library. (CVE-2017-5885) Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-11-14
    plugin id 103020
    published 2017-09-08
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=103020
    title EulerOS 2.0 SP2 : gtk-vnc (EulerOS-SA-2017-1182)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2017-AB04A91EDD.NASL
    description Security fix for CVE-2017-5884, CVE-2017-5885 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2017-03-07
    plugin id 97174
    published 2017-02-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=97174
    title Fedora 25 : gtk-vnc (2017-ab04a91edd)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DLA-831.NASL
    description Josef Gajdusek discovered two vulnerabilities in gtk-vnc, a VNC viewer widget for GTK : CVE-2017-5884 Fix bounds checking for RRE, hextile & copyrec encodings. This bug allowed a remote server to cause a denial of service by buffer overflow via a carefully crafted message containing subrectangles outside the drawing area. CVE-2017-5885 Correctly validate color map range indexes. This bug allowed a remote server to cause a denial of service by buffer overflow via a carefully crafted message with out-of-range colour values. For Debian 7 'Wheezy', these problems have been fixed in version 0.5.0-3.1+deb7u1. We recommend that you upgrade your gtk-vnc packages. NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-07-10
    plugin id 97236
    published 2017-02-21
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=97236
    title Debian DLA-831-1 : gtk-vnc security update
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2017-404F1A29FC.NASL
    description Security fix for CVE-2017-5884, CVE-2017-5885 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2017-03-09
    plugin id 97617
    published 2017-03-09
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=97617
    title Fedora 24 : mingw-gtk-vnc (2017-404f1a29fc)
  • NASL family FreeBSD Local Security Checks
    NASL id FREEBSD_PKG_79BBB8F8F04911E68A6ABCAEC565249C.NASL
    description Daniel P. Berrange reports : CVE-2017-5884 - fix bounds checking for RRE, hextile and copyrect encodings CVE-2017-5885 - fix color map index bounds checking.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 97107
    published 2017-02-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=97107
    title FreeBSD : gtk-vnc -- bounds checking vulnerabilities (79bbb8f8-f049-11e6-8a6a-bcaec565249c)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2017-2258.NASL
    description An update for gtk-vnc is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. The gtk-vnc packages provide a VNC viewer widget for GTK. The gtk-vnc widget is built by using co-routines, which allows the widget to be completely asynchronous while remaining single-threaded. The following packages have been upgraded to a later upstream version: gtk-vnc (0.7.0). (BZ#1416783) Security Fix(es) : * It was found that gtk-vnc lacked proper bounds checking while processing messages using RRE, hextile, or copyrect encodings. A remote malicious VNC server could use this flaw to crash VNC viewers which are based on the gtk-vnc library. (CVE-2017-5884) * An integer overflow flaw was found in gtk-vnc. A remote malicious VNC server could use this flaw to crash VNC viewers which are based on the gtk-vnc library. (CVE-2017-5885) Additional Changes : For detailed information on changes in this release, see the Red Hat Enterprise Linux 7.4 Release Notes linked from the References section.
    last seen 2019-02-21
    modified 2018-11-26
    plugin id 102153
    published 2017-08-03
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=102153
    title RHEL 7 : gtk-vnc (RHSA-2017:2258)
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20170801_GTK_VNC_ON_SL7_X.NASL
    description The following packages have been upgraded to a later upstream version: gtk-vnc (0.7.0). Security Fix(es) : - It was found that gtk-vnc lacked proper bounds checking while processing messages using RRE, hextile, or copyrect encodings. A remote malicious VNC server could use this flaw to crash VNC viewers which are based on the gtk-vnc library. (CVE-2017-5884) - An integer overflow flaw was found in gtk-vnc. A remote malicious VNC server could use this flaw to crash VNC viewers which are based on the gtk-vnc library. (CVE-2017-5885)
    last seen 2019-02-21
    modified 2018-12-27
    plugin id 102644
    published 2017-08-22
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=102644
    title Scientific Linux Security Update : gtk-vnc on SL7.x x86_64
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2017-2258.NASL
    description From Red Hat Security Advisory 2017:2258 : An update for gtk-vnc is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. The gtk-vnc packages provide a VNC viewer widget for GTK. The gtk-vnc widget is built by using co-routines, which allows the widget to be completely asynchronous while remaining single-threaded. The following packages have been upgraded to a later upstream version: gtk-vnc (0.7.0). (BZ#1416783) Security Fix(es) : * It was found that gtk-vnc lacked proper bounds checking while processing messages using RRE, hextile, or copyrect encodings. A remote malicious VNC server could use this flaw to crash VNC viewers which are based on the gtk-vnc library. (CVE-2017-5884) * An integer overflow flaw was found in gtk-vnc. A remote malicious VNC server could use this flaw to crash VNC viewers which are based on the gtk-vnc library. (CVE-2017-5885) Additional Changes : For detailed information on changes in this release, see the Red Hat Enterprise Linux 7.4 Release Notes linked from the References section.
    last seen 2019-02-21
    modified 2018-07-25
    plugin id 102301
    published 2017-08-09
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=102301
    title Oracle Linux 7 : gtk-vnc (ELSA-2017-2258)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2017-A9E6A5C249.NASL
    description Security fix for CVE-2017-5884, CVE-2017-5885 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2017-03-06
    plugin id 97537
    published 2017-03-06
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=97537
    title Fedora 24 : gtk-vnc (2017-a9e6a5c249)
  • NASL family Huawei Local Security Checks
    NASL id EULEROS_SA-2017-1181.NASL
    description According to the versions of the gtk-vnc package installed, the EulerOS installation on the remote host is affected by the following vulnerabilities : - It was found that gtk-vnc lacked proper bounds checking while processing messages using RRE, hextile, or copyrect encodings. A remote malicious VNC server could use this flaw to crash VNC viewers which are based on the gtk-vnc library. (CVE-2017-5884) - An integer overflow flaw was found in gtk-vnc. A remote malicious VNC server could use this flaw to crash VNC viewers which are based on the gtk-vnc library. (CVE-2017-5885) Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-11-14
    plugin id 103019
    published 2017-09-08
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=103019
    title EulerOS 2.0 SP1 : gtk-vnc (EulerOS-SA-2017-1181)
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2017-2258.NASL
    description An update for gtk-vnc is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. The gtk-vnc packages provide a VNC viewer widget for GTK. The gtk-vnc widget is built by using co-routines, which allows the widget to be completely asynchronous while remaining single-threaded. The following packages have been upgraded to a later upstream version: gtk-vnc (0.7.0). (BZ#1416783) Security Fix(es) : * It was found that gtk-vnc lacked proper bounds checking while processing messages using RRE, hextile, or copyrect encodings. A remote malicious VNC server could use this flaw to crash VNC viewers which are based on the gtk-vnc library. (CVE-2017-5884) * An integer overflow flaw was found in gtk-vnc. A remote malicious VNC server could use this flaw to crash VNC viewers which are based on the gtk-vnc library. (CVE-2017-5885) Additional Changes : For detailed information on changes in this release, see the Red Hat Enterprise Linux 7.4 Release Notes linked from the References section.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 102757
    published 2017-08-25
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=102757
    title CentOS 7 : gtk-vnc (CESA-2017:2258)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2017-C3739273E5.NASL
    description Security fix for CVE-2017-5884, CVE-2017-5885 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2017-03-09
    plugin id 97620
    published 2017-03-09
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=97620
    title Fedora 25 : mingw-gtk-vnc (2017-c3739273e5)
redhat via4
advisories
bugzilla
id 1441120
title segment fault when connecting a host with no VNC server listening
oval
AND
  • OR
    • comment Red Hat Enterprise Linux 7 Client is installed
      oval oval:com.redhat.rhsa:tst:20140675001
    • comment Red Hat Enterprise Linux 7 Server is installed
      oval oval:com.redhat.rhsa:tst:20140675002
    • comment Red Hat Enterprise Linux 7 Workstation is installed
      oval oval:com.redhat.rhsa:tst:20140675003
    • comment Red Hat Enterprise Linux 7 ComputeNode is installed
      oval oval:com.redhat.rhsa:tst:20140675004
  • OR
    • AND
      • comment gtk-vnc is earlier than 0:0.7.0-2.el7
        oval oval:com.redhat.rhsa:tst:20172258023
      • comment gtk-vnc is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20172258024
    • AND
      • comment gtk-vnc-devel is earlier than 0:0.7.0-2.el7
        oval oval:com.redhat.rhsa:tst:20172258021
      • comment gtk-vnc-devel is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20172258022
    • AND
      • comment gtk-vnc-python is earlier than 0:0.7.0-2.el7
        oval oval:com.redhat.rhsa:tst:20172258013
      • comment gtk-vnc-python is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20172258014
    • AND
      • comment gtk-vnc2 is earlier than 0:0.7.0-2.el7
        oval oval:com.redhat.rhsa:tst:20172258005
      • comment gtk-vnc2 is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20172258006
    • AND
      • comment gtk-vnc2-devel is earlier than 0:0.7.0-2.el7
        oval oval:com.redhat.rhsa:tst:20172258007
      • comment gtk-vnc2-devel is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20172258008
    • AND
      • comment gvnc is earlier than 0:0.7.0-2.el7
        oval oval:com.redhat.rhsa:tst:20172258017
      • comment gvnc is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20172258018
    • AND
      • comment gvnc-devel is earlier than 0:0.7.0-2.el7
        oval oval:com.redhat.rhsa:tst:20172258009
      • comment gvnc-devel is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20172258010
    • AND
      • comment gvnc-tools is earlier than 0:0.7.0-2.el7
        oval oval:com.redhat.rhsa:tst:20172258015
      • comment gvnc-tools is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20172258016
    • AND
      • comment gvncpulse is earlier than 0:0.7.0-2.el7
        oval oval:com.redhat.rhsa:tst:20172258011
      • comment gvncpulse is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20172258012
    • AND
      • comment gvncpulse-devel is earlier than 0:0.7.0-2.el7
        oval oval:com.redhat.rhsa:tst:20172258019
      • comment gvncpulse-devel is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20172258020
rhsa
id RHSA-2017:2258
released 2017-08-01
severity Moderate
title RHSA-2017:2258: gtk-vnc security, bug fix, and enhancement update (Moderate)
rpms
  • gtk-vnc-0:0.7.0-2.el7
  • gtk-vnc-devel-0:0.7.0-2.el7
  • gtk-vnc-python-0:0.7.0-2.el7
  • gtk-vnc2-0:0.7.0-2.el7
  • gtk-vnc2-devel-0:0.7.0-2.el7
  • gvnc-0:0.7.0-2.el7
  • gvnc-devel-0:0.7.0-2.el7
  • gvnc-tools-0:0.7.0-2.el7
  • gvncpulse-0:0.7.0-2.el7
  • gvncpulse-devel-0:0.7.0-2.el7
refmap via4
bid 96016
confirm
fedora FEDORA-2017-ab04a91edd
mlist
  • [oss-security] 20170203 CVE request for two input validation flaws in gtk-vnc
  • [oss-security] 20170204 Re: CVE request for two input validation flaws in gtk-vnc
Last major update 02-03-2017 - 10:35
Published 28-02-2017 - 13:59
Last modified 04-01-2018 - 21:31
Back to Top