-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2020.2535
                 USN-4434-1: LibVNCServer vulnerabilities
                               24 July 2020

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           LibVNCServer
Publisher:         Ubuntu
Operating System:  Ubuntu
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
                   Denial of Service               -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2020-14405 CVE-2020-14404 CVE-2020-14403
                   CVE-2020-14402 CVE-2020-14401 CVE-2020-14400
                   CVE-2020-14399 CVE-2020-14398 CVE-2020-14397
                   CVE-2020-14396 CVE-2019-20840 CVE-2019-20839

Reference:         ESB-2020.2469
                   ESB-2020.2248

Original Bulletin: 
   https://usn.ubuntu.com/4434-1/

- --------------------------BEGIN INCLUDED TEXT--------------------

USN-4434-1: LibVNCServer vulnerabilities
23 July 2020

Several security issues were fixed in LibVNCServer.
Releases

  o Ubuntu 20.04 LTS
  o Ubuntu 18.04 LTS
  o Ubuntu 16.04 LTS

Packages

  o libvncserver - vnc server library

Details

Ramin Farajpour Cami discovered that LibVNCServer incorrectly handled
certain malformed unix socket names. A remote attacker could exploit this
with a crafted socket name, leading to a denial of service, or possibly
execute arbitrary code. (CVE-2019-20839)

It was discovered that LibVNCServer did not properly access byte-aligned
data. A remote attacker could possibly use this issue to cause
LibVNCServer to crash, resulting in a denial of service. This issue only
affected Ubuntu 18.04 LTS and Ubuntu 16.04 LTS. (CVE-2019-20840)

Christian Beier discovered that LibVNCServer incorrectly handled anonymous
TLS connections. A remote attacker could possibly use this issue to cause
LibVNCServer to crash, resulting in a denial of service. This issue only
affected Ubuntu 20.04 LTS. (CVE-2020-14396)

It was discovered that LibVNCServer incorrectly handled region clipping. A
remote attacker could possibly use this issue to cause LibVNCServer to
crash, resulting in a denial of service. (CVE-2020-14397)

It was discovered that LibVNCServer did not properly reset incorrectly
terminated TCP connections. A remote attacker could possibly use this
issue to cause an infinite loop, resulting in a denial of service.
(CVE-2020-14398)

It was discovered that LibVNCServer did not properly access byte-aligned
data. A remote attacker could possibly use this issue to cause
LibVNCServer to crash, resulting in a denial of service. (CVE-2020-14399,
CVE-2020-14400)

It was discovered that LibVNCServer incorrectly handled screen scaling on
the server side. A remote attacker could use this issue to cause
LibVNCServer to crash, resulting in a denial of service, or possibly
execute arbitrary code. (CVE-2020-14401)

It was discovered that LibVNCServer incorrectly handled encodings. A
remote attacker could use this issue to cause LibVNCServer to crash,
resulting in a denial of service, or possibly execute arbitrary code.
(CVE-2020-14402, CVE-2020-14403, CVE-2020-14404)

It was discovered that LibVNCServer incorrectly handled TextChat messages.
A remote attacker could possibly use this issue to cause LibVNCServer to
crash, resulting in a denial of service. (CVE-2020-14405)

Update instructions

The problem can be corrected by updating your system to the following package
versions:

Ubuntu 20.04

  o libvncclient1 - 0.9.12+dfsg-9ubuntu0.2
  o libvncserver1 - 0.9.12+dfsg-9ubuntu0.2

Ubuntu 18.04

  o libvncclient1 - 0.9.11+dfsg-1ubuntu1.3
  o libvncserver1 - 0.9.11+dfsg-1ubuntu1.3

Ubuntu 16.04

  o libvncclient1 - 0.9.10+dfsg-3ubuntu0.16.04.5
  o libvncserver1 - 0.9.10+dfsg-3ubuntu0.16.04.5

After a standard system update you need to restart LibVNCServer
applications to make all the necessary changes.

References

  o CVE-2019-20839
  o CVE-2019-20840
  o CVE-2020-14396
  o CVE-2020-14397
  o CVE-2020-14398
  o CVE-2020-14399
  o CVE-2020-14400
  o CVE-2020-14401
  o CVE-2020-14402
  o CVE-2020-14403
  o CVE-2020-14404
  o CVE-2020-14405

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBXxpGvONLKJtyKPYoAQjifA/9HgdQ50gTrAD1x7FrI6dARbCa2knGtvnE
+Gs2fr84nwFGwfbcmVm1HqUfhNpS7oNvJLBdRFnXha2uWkP5DAWOU9TQWdArupEP
Ba3cKGkfhodeeDIEpYrtpRXp9RvdAWqKSUmKgtvY1poWc7hyKafvleLHv50v+f3G
mR8VnRrng5LYn8HMI+dxjxlSBn+9ixThsvcq43hrsteDbjFeFDf9mhtsvUIMf9k5
ujEh52+cgQEO5dThztSSNPSYW6jaHLfMI7hZ5s4z7FPz9LF7gjuHgbL3S9vCwQOq
1S/NYfmvLgazcRoeLNZ357KOwvt9pHBVYn6K7hIxHt1T5GVlGZxtYogBoB9/bZ+b
3RmOraR6aEU25Y85p+/rGEY3bAL6dpSn9ms8tYUguQzlpOp4Tsp0qc4+kFwwpuZ0
1aXTUTTixYdIGXyHbu28vRH0ss2MFIDkTpusCvcpHEBpMVRhQKYrV2mOOt8kwHms
PwO2kgX/AIyjBS1k3Pxsx/59cxzFrBW0pZrIRVorfEKqagG+KKoL2Bgex+ZFWq/L
+NIqJCfXpO+jviKJPkmxs863uvmGsnMh0LyFOwJ+/ynHRZdEa2WhOS6UyKx+mIDi
Dgo1WsUTTxJULrRH/5v4pX01/6MTt62bH2A96GNCjoyV+RPXBaxn3uRrV4UUDbGs
Do4YO1nbTnA=
=Xxva
-----END PGP SIGNATURE-----