Hash: SHA256

             AUSCERT External Security Bulletin Redistribution

                          curl security problems
                                27 May 2019


        AusCERT Security Bulletin Summary

Product:           curl
Publisher:         FreeBSD
Operating System:  FreeBSD
Impact/Access:     Execute Arbitrary Code/Commands -- Remote with User Interaction
                   Denial of Service               -- Remote with User Interaction
Resolution:        Patch/Upgrade
CVE Names:         CVE-2019-5436 CVE-2019-5435 

Reference:         ESB-2019.1874

Original Bulletin: 

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

curl -- multiple vulnerabilities

Affected packages
7.19.4 	<= 	curl 	< 	7.65.0


VuXML ID 	dd343a2b-7ee7-11e9-a290-8ddc52868fa9
Discovery 	2019-05-22
Entry 	2019-05-25
Modified 	2019-05-26

curl security problems:

    CVE-2019-5435: Integer overflows in curl_url_set()

    libcurl contains two integer overflows in the curl_url_set() function that if triggered, can lead to a too small buffer allocation and a subsequent heap buffer overflow.

    The flaws only exist on 32 bit architectures and require excessive string input lengths.

    CVE-2019-5436: TFTP receive buffer overflow

    libcurl contains a heap buffer overflow in the function (tftp_receive_packet()) that recevives data from a TFTP server. It calls recvfrom() with the default size for the buffer rather than with the size that was used to allocate it. Thus, the content that might overwrite the heap memory is entirely controlled by the server.

    The flaw exists if the user selects to use a "blksize" of 504 or smaller (default is 512). The smaller size that is used, the larger the possible overflow becomes.

    Users chosing a smaller size than default should be rare as the primary use case for changing the size is to make it larger.

    It is rare for users to use TFTP across the Internet. It is most commonly used within local networks.

CVE Name 	CVE-2019-5435
CVE Name 	CVE-2019-5436
URL 	https://curl.haxx.se/docs/CVE-2019-5435.html
URL 	https://curl.haxx.se/docs/CVE-2019-5436.html
URL 	https://curl.haxx.se/docs/security.html

Copyright 2003-2005 Jacques Vidrine and contributors.
Please see the source of this document for full copyright information.

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