Bug 1017712 - (CVE-2016-9942) VUL-0: CVE-2016-9942: LibVNCServer,x11vnc: Heap-based buffer overflow via crafted FramebufferUpdate message with the Ultra type tile
(CVE-2016-9942)
VUL-0: CVE-2016-9942: LibVNCServer,x11vnc: Heap-based buffer overflow via cra...
Status: RESOLVED FIXED
Classification: Novell Products
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents
unspecified
Other Other
: P3 - Medium : Major
: ---
Assigned To: Cristian Rodríguez
Security Team bot
https://smash.suse.de/issue/178187/
CVSSv2:SUSE:CVE-2016-9942:6.8:(AV:N/A...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-01-02 08:45 UTC by Andreas Stieger
Modified: 2019-11-02 17:51 UTC (History)
1 user (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Stieger 2017-01-02 08:45:24 UTC
Heap-based buffer overflow in ultra.c in LibVNCClient in LibVNCServer before
0.9.11 allows remote servers to cause a denial of service (application crash) or
possibly execute arbitrary code via a crafted FramebufferUpdate message with the
Ultra type tile, such that the LZO payload decompressed length exceeds what is
specified by the tile dimensions.

Poc in: 
https://github.com/LibVNC/libvncserver/pull/137

Fix:
https://github.com/LibVNC/libvncserver/commit/5fff4353f66427b467eb29e5fdc1da4f2be028bb

Also found in openSUSE: x11vnc

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-9942
http://www.cvedetails.com/cve/CVE-2016-9942/
https://github.com/LibVNC/libvncserver/pull/137
https://github.com/LibVNC/libvncserver/releases/tag/LibVNCServer-0.9.11
Comment 1 Swamp Workflow Management 2017-01-02 23:00:39 UTC
bugbot adjusting priority
Comment 3 Petr Gajdos 2017-01-04 08:05:06 UTC
Reassigning to opensuse bugowner in order to do version update to 0.9.11 in tumbleweed. I wanted to do myself but it seems there is some work on patches, which we maintain (maybe needlesly?).

Please reassign to security-team@ afterwards.
Comment 4 Andreas Stieger 2017-01-04 08:11:31 UTC
We would need openSUSE maintenance submissions for:
openSUSE:13.2:Update/LibVNCServer
openSUSE:13.2:Update/x11vnc
openSUSE:Leap:42.1:Update/x11vnc
openSUSE:Leap:42.2:Update/x11vnc
Comment 5 Swamp Workflow Management 2017-01-11 13:08:54 UTC
SUSE-SU-2017:0104-1: An update that fixes two vulnerabilities is now available.

Category: security (important)
Bug References: 1017711,1017712
CVE References: CVE-2016-9941,CVE-2016-9942
Sources used:
SUSE Linux Enterprise Software Development Kit 11-SP4 (src):    LibVNCServer-0.9.1-159.1
SUSE Linux Enterprise Server 11-SP4 (src):    LibVNCServer-0.9.1-159.1
SUSE Linux Enterprise Debuginfo 11-SP4 (src):    LibVNCServer-0.9.1-159.1
Comment 7 Swamp Workflow Management 2018-03-27 19:08:04 UTC
SUSE-SU-2018:0830-1: An update that fixes three vulnerabilities is now available.

Category: security (important)
Bug References: 1017711,1017712,1081493
CVE References: CVE-2016-9941,CVE-2016-9942,CVE-2018-7225
Sources used:
SUSE Linux Enterprise Software Development Kit 12-SP3 (src):    LibVNCServer-0.9.9-17.5.1
SUSE Linux Enterprise Software Development Kit 12-SP2 (src):    LibVNCServer-0.9.9-17.5.1
SUSE Linux Enterprise Server for Raspberry Pi 12-SP2 (src):    LibVNCServer-0.9.9-17.5.1
SUSE Linux Enterprise Server 12-SP3 (src):    LibVNCServer-0.9.9-17.5.1
SUSE Linux Enterprise Server 12-SP2 (src):    LibVNCServer-0.9.9-17.5.1
Comment 8 Andreas Stieger 2018-03-29 16:35:40 UTC
Appears to still be missing in x11vnc in Leap 42.3.
The original bugowner is gone, can anyone of you submit this one?
Comment 9 Swamp Workflow Management 2018-03-29 22:07:31 UTC
openSUSE-SU-2018:0851-1: An update that fixes three vulnerabilities is now available.

Category: security (important)
Bug References: 1017711,1017712,1081493
CVE References: CVE-2016-9941,CVE-2016-9942,CVE-2018-7225
Sources used:
openSUSE Leap 42.3 (src):    LibVNCServer-0.9.9-16.3.1
Comment 11 Marcus Meissner 2019-11-02 17:51:46 UTC
done