A vulnerability was found in libcurl contains a heap buffer overflow in the function ('tftp_receive_packet()') that receives data from a TFTP server. It can call '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 controlled by the server.
Acknowledgments: Name: the Curl project Upstream: Thomas Vegas
What is the impact and cvss score for this issue? https://access.redhat.com/security/cve/CVE-2019-5482 gives me 404.
Upstream patch: https://github.com/curl/curl/commit/facb0e4662415b5f28163e853dc6742ac5fafb3d This flaw was introduced in January 2009 via https://github.com/curl/curl/commit/0516ce7786e9500c2e44 This flaw only affects libcurl >= 7.19.4 to and including 7.65.3
External References: https://curl.haxx.se/docs/CVE-2019-5482.html
Created curl tracking bugs for this issue: Affects: fedora-all [bug 1751926] Created mingw-curl tracking bugs for this issue: Affects: epel-7 [bug 1751928] Affects: fedora-all [bug 1751927]
This is a heap-buffer overflow in libcurl, which can be controlled by the TFTP server. This flaw is only triggered if the TFTP server sends an OACK without the BLKSIZE option, when a BLKSIZE smaller than 512 bytes was requested by the TFTP client. OACK is a TFTP extension and is not used by all TFTP servers. However using smaller BLKSIZE is rare. It is rare for users to use TFTP across the Internet. It is most commonly used within local networks. TFTP as a protocol is always inherently insecure. This issue was introduced by the add of the TFTP BLKSIZE option handling. It was previously incompletely fixed by an almost identical issue called CVE-2019-5436.
Mitigation: Do not use TFTP with curl with smaller than the default BLKSIZE.
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2020:1792 https://access.redhat.com/errata/RHSA-2020:1792
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2019-5482
This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2020:3916 https://access.redhat.com/errata/RHSA-2020:3916
This issue has been addressed in the following products: Red Hat Enterprise Linux 7.4 Advanced Update Support Red Hat Enterprise Linux 7.4 Update Services for SAP Solutions Red Hat Enterprise Linux 7.4 Telco Extended Update Support Via RHSA-2021:0759 https://access.redhat.com/errata/RHSA-2021:0759
This issue has been addressed in the following products: Red Hat Enterprise Linux 7.6 Extended Update Support Via RHSA-2021:0877 https://access.redhat.com/errata/RHSA-2021:0877
This issue has been addressed in the following products: Red Hat Enterprise Linux 7.7 Extended Update Support Via RHSA-2021:1027 https://access.redhat.com/errata/RHSA-2021:1027