Hash: SHA256

             AUSCERT External Security Bulletin Redistribution

              USN-5068-1: GD Graphics Library vulnerabilities
                             9 September 2021


        AusCERT Security Bulletin Summary

Product:           GD Graphics Library
Publisher:         Ubuntu
Operating System:  Ubuntu
                   UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Denial of Service        -- Remote/Unauthenticated      
                   Access Confidential Data -- Remote with User Interaction
                   Reduced Security         -- Remote with User Interaction
Resolution:        Patch/Upgrade
CVE Names:         CVE-2021-40145 CVE-2021-38115 CVE-2017-6363

Original Bulletin: 

Comment: This advisory references vulnerabilities in products which run on 
         platforms other than Ubuntu. It is recommended that administrators 
         running library check for an updated version of the software for 
         their operating system.

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

USN-5068-1: GD library vulnerabilities
08 September 2021

Several security issues were fixed in GD library.

  o Ubuntu 21.04
  o Ubuntu 20.04 LTS
  o Ubuntu 18.04 LTS
  o Ubuntu 16.04 ESM
  o Ubuntu 14.04 ESM


  o libgd2 - GD Graphics Library


It was discovered that GD Graphics Library incorrectly handled certain GD and
GD2 files.
An attacker could possibly use this issue to cause a crash or expose sensitive
This issue only affected Ubuntu 20.04 LTS, Ubuntu 18.04 LTS, Ubuntu 16.04 ESM,
and Ubuntu 14.04 ESM.
( CVE-2017-6363 )

It was discovered that GD Graphics Library incorrectly handled certain TGA
An attacker could possibly use this issue to cause a denial of service or
expose sensitive information. (CVE-2021-381)

It was discovered that GD Graphics Library incorrectly handled certain files.
An attacker could possibly use this issue to cause a crash.
( CVE-2021-40145 )

Update instructions

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

Ubuntu 21.04

  o libgd3 - 2.3.0-2ubuntu0.1

Ubuntu 20.04

  o libgd3 - 2.2.5-5.2ubuntu2.1

Ubuntu 18.04

  o libgd3 - 2.2.5-4ubuntu0.5

Ubuntu 16.04

  o libgd3 - 2.1.1-4ubuntu0.16.04.12+esm1
    Available with UA Infra or UA Desktop

Ubuntu 14.04

  o libgd3 - 2.1.0-3ubuntu0.11+esm2
    Available with UA Infra or UA Desktop

In general, a standard system update will make all the necessary changes.


  o CVE-2021-40145
  o CVE-2021-38115
  o CVE-2017-6363

- --------------------------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:


Australian Computer Emergency Response Team
The University of Queensland
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.
Comment: http://www.auscert.org.au/render.html?it=1967