Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 868135 (CVE-2020-29260) - <net-libs/libvncserver-0.9.13-r1: memory leakage via rfbClientCleanup()
Summary: <net-libs/libvncserver-0.9.13-r1: memory leakage via rfbClientCleanup()
Status: RESOLVED FIXED
Alias: CVE-2020-29260
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Gentoo Security
URL: https://github.com/LibVNC/libvncserve...
Whiteboard: B4 [noglsa]
Keywords: PullRequest
Depends on: 872647
Blocks:
  Show dependency tree
 
Reported: 2022-09-03 01:42 UTC by John Helmert III
Modified: 2022-09-30 15:22 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-09-03 01:42:35 UTC
CVE-2020-29260:

libvncclient v0.9.13 was discovered to contain a memory leak via the function rfbClientCleanup().
Comment 1 Larry the Git Cow gentoo-dev 2022-09-24 10:01:44 UTC
The bug has been referenced in the following commit(s):

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

commit d33d79334f52b44ddc670fa9461105d2cfc64ea9
Author:     Alexander Tsoy <alexander@tsoy.me>
AuthorDate: 2022-09-22 00:02:29 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-09-24 10:00:51 +0000

    net-libs/libvncserver: fix CVE-2020-29260
    
    Also update EAPI 7 -> 8
    
    Bug: https://bugs.gentoo.org/868135
    Signed-off-by: Alexander Tsoy <alexander@tsoy.me>
    Closes: https://github.com/gentoo/gentoo/pull/27388
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../files/libvncserver-0.9.13-CVE-2020-29260.patch | 27 ++++++++
 .../libvncserver/libvncserver-0.9.13-r1.ebuild     | 76 ++++++++++++++++++++++
 2 files changed, 103 insertions(+)
Comment 2 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-09-24 20:03:58 UTC
Thanks!
Comment 3 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-09-26 15:58:41 UTC
No need to GLSA, client side memory leak so it's unlikely to be a serious problem except in very special cases.
Comment 4 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-09-30 14:28:27 UTC
Please cleanup.
Comment 5 Larry the Git Cow gentoo-dev 2022-09-30 15:19:58 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42d5e9d6c8415ba4f6a09aac08b49a9af6958e55

commit 42d5e9d6c8415ba4f6a09aac08b49a9af6958e55
Author:     Alexander Tsoy <alexander@tsoy.me>
AuthorDate: 2022-09-30 15:06:46 +0000
Commit:     John Helmert III <ajak@gentoo.org>
CommitDate: 2022-09-30 15:18:27 +0000

    net-libs/libvncserver: security cleanup
    
    Bug: https://bugs.gentoo.org/868135
    Signed-off-by: Alexander Tsoy <alexander@tsoy.me>
    Closes: https://github.com/gentoo/gentoo/pull/27540
    Signed-off-by: John Helmert III <ajak@gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.13.ebuild | 75 ------------------------
 1 file changed, 75 deletions(-)
Comment 6 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-09-30 15:22:16 UTC
Thanks!