Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 699036 (CVE-2019-15681) - <net-libs/libvncserver-0.9.12-r3: memory leak allows attacker to read stack memory (CVE-2019-15681)
Summary: <net-libs/libvncserver-0.9.12-r3: memory leak allows attacker to read stack m...
Status: IN_PROGRESS
Alias: CVE-2019-15681
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL:
Whiteboard: B4 [stable]
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2019-10-31 16:49 UTC by GLSAMaker/CVETool Bot
Modified: 2019-11-28 08:40 UTC (History)
3 users (show)

See Also:
Package list:
net-libs/libvncserver-0.9.12-r3
Runtime testing required: ---
stable-bot: sanity-check+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description GLSAMaker/CVETool Bot gentoo-dev 2019-10-31 16:49:21 UTC
CVE-2019-15681 (https://nvd.nist.gov/vuln/detail/CVE-2019-15681):
  LibVNC commit before d01e1bb4246323ba6fcee3b82ef1faa9b1dac82a contains a
  memory leak (CWE-655) in VNC server code, which allow an attacker to read
  stack memory and can be abused for information disclosure. Combined with
  another vulnerability, it can be used to leak stack memory and bypass ASLR.
  This attack appear to be exploitable via network connectivity. These
  vulnerabilities have been fixed in commit
  d01e1bb4246323ba6fcee3b82ef1faa9b1dac82a.
Comment 1 Larry the Git Cow gentoo-dev 2019-11-01 14:11:28 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ae4ada68cdf7aa131d7a50c9305b55ba14fcd43

commit 5ae4ada68cdf7aa131d7a50c9305b55ba14fcd43
Author:     Alexander Tsoy <alexander@tsoy.me>
AuthorDate: 2019-10-31 18:41:58 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2019-11-01 14:10:59 +0000

    net-libs/libvncserver: Add a bunch of upstream fixes
    
    * fix CVE-2018-20750 (the fix for CVE-2018-15127 was incomplete)
    * fix CVE-2019-15681
    * fix libdir in pkgconfig files
    * fix regression in Tight/Raw decoding
    
    Bug: https://bugs.gentoo.org/699036
    Closes: https://bugs.gentoo.org/676942
    Closes: https://bugs.gentoo.org/691848
    Package-Manager: Portage-2.3.76, Repoman-2.3.16
    Signed-off-by: Alexander Tsoy <alexander@tsoy.me>
    Closes: https://github.com/gentoo/gentoo/pull/13509
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 .../files/libvncserver-0.9.12-CVE-2018-20750.patch | 47 ++++++++++++++
 .../files/libvncserver-0.9.12-CVE-2019-15681.patch | 26 ++++++++
 .../files/libvncserver-0.9.12-cmake-libdir.patch   | 32 ++++++++--
 ...ibvncserver-0.9.12-fix-tight-raw-decoding.patch | 40 ++++++++++++
 .../libvncserver-0.9.12-pkgconfig-libdir.patch     | 41 ++++++++++++
 .../libvncserver/libvncserver-0.9.12-r3.ebuild     | 73 ++++++++++++++++++++++
 6 files changed, 255 insertions(+), 4 deletions(-)
Comment 2 Alexander Tsoy 2019-11-11 00:51:29 UTC
Lets stabilize =net-libs/libvncserver-0.9.12-r3
Can somebody help with modifying keywords and package list?
Comment 3 Rolf Eike Beer 2019-11-19 19:59:20 UTC
sparc stable
Comment 4 Agostino Sarubbo gentoo-dev 2019-11-20 11:16:50 UTC
amd64 stable
Comment 5 Agostino Sarubbo gentoo-dev 2019-11-20 11:21:19 UTC
ppc64 stable
Comment 6 Agostino Sarubbo gentoo-dev 2019-11-20 11:30:02 UTC
ppc stable
Comment 7 Agostino Sarubbo gentoo-dev 2019-11-20 11:36:32 UTC
ia64 stable
Comment 8 Agostino Sarubbo gentoo-dev 2019-11-20 13:23:57 UTC
x86 stable
Comment 9 Aaron Bauman Gentoo Infrastructure gentoo-dev Security 2019-11-20 16:45:21 UTC
arm64 stable
Comment 10 Mikle Kolyada archtester Gentoo Infrastructure gentoo-dev Security 2019-11-27 13:23:39 UTC
arm stable
Comment 11 Sergei Trofimovich gentoo-dev 2019-11-28 08:40:05 UTC
commit 4eadcbe351d47b9e91bbcb525b0576f714ff360b
Author: Rolf Eike Beer <eike@sf-mail.de>
Date:   Thu Nov 21 17:20:53 2019 +0100

    net-libs/libvncserver: stable 0.9.12-r3 for hppa, bug #699036