Ubuntu update for curl

Published: 2019-09-11 | Updated: 2019-09-11
Severity Medium
Patch available YES
Number of vulnerabilities 2
CVE ID CVE-2019-5481
CVE-2019-5482
CWE ID CWE-415
CWE-122
Exploitation vector Network
Public exploit N/A
Vulnerable software curl (Ubuntu package) Subscribe
Vendor Canonical Ltd.

Security Advisory

1) Double Free

Severity: Low

CVSSv3: 3.8 [CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2019-5481

CWE-ID: CWE-415 - Double Free

Description

The vulnerability allows a remote attacker to perform denial of service (DoS) attack.

The vulnerability exists due to a boundary error when processing very large blocks during Kerberos FTP data transfer. A remote attacker that controls malicious FTP server can send large blocks of data to the curl client, trigger a double-free error and crash the application.

Mitigation

Update the affected packages.

Ubuntu 19.04
curl - 7.64.0-2ubuntu1.2
libcurl3-gnutls - 7.64.0-2ubuntu1.2
libcurl3-nss - 7.64.0-2ubuntu1.2
libcurl4 - 7.64.0-2ubuntu1.2
Ubuntu 18.04 LTS
curl - 7.58.0-2ubuntu3.8
libcurl3-gnutls - 7.58.0-2ubuntu3.8
libcurl3-nss - 7.58.0-2ubuntu3.8
libcurl4 - 7.58.0-2ubuntu3.8
Ubuntu 16.04 LTS
curl - 7.47.0-1ubuntu2.14
libcurl3 - 7.47.0-1ubuntu2.14
libcurl3-gnutls - 7.47.0-1ubuntu2.14
libcurl3-nss - 7.47.0-1ubuntu2.14

Vulnerable software versions

curl (Ubuntu package): 7.47.0-1ubuntu2.1, 7.47.0-1ubuntu2.2, 7.47.0-1ubuntu2.3, 7.47.0-1ubuntu2.4, 7.47.0-1ubuntu2.5, 7.47.0-1ubuntu2.6, 7.47.0-1ubuntu2.7, 7.47.0-1ubuntu2.8, 7.47.0-1ubuntu2.9, 7.47.0-1ubuntu2.11, 7.47.0-1ubuntu2.12, 7.47.0-1ubuntu2.13, 7.58.0-2ubuntu3.1, 7.58.0-2ubuntu3.2, 7.58.0-2ubuntu3.3, 7.58.0-2ubuntu3.5, 7.58.0-2ubuntu3.6, 7.58.0-2ubuntu3.7, 7.64.0-2ubuntu1.1

CPE External links

https://usn.ubuntu.com/4129-1/

Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Heap-based buffer overflow

Severity: Medium

CVSSv3: 6.5 [CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C] [PCI]

CVE-ID: CVE-2019-5482

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the tftp_receive_packet() function when processing TFTP data. A remote attacker can send specially crafted TFTP response to the vulnerable curl client, trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Update the affected packages.

Ubuntu 19.04
curl - 7.64.0-2ubuntu1.2
libcurl3-gnutls - 7.64.0-2ubuntu1.2
libcurl3-nss - 7.64.0-2ubuntu1.2
libcurl4 - 7.64.0-2ubuntu1.2
Ubuntu 18.04 LTS
curl - 7.58.0-2ubuntu3.8
libcurl3-gnutls - 7.58.0-2ubuntu3.8
libcurl3-nss - 7.58.0-2ubuntu3.8
libcurl4 - 7.58.0-2ubuntu3.8
Ubuntu 16.04 LTS
curl - 7.47.0-1ubuntu2.14
libcurl3 - 7.47.0-1ubuntu2.14
libcurl3-gnutls - 7.47.0-1ubuntu2.14
libcurl3-nss - 7.47.0-1ubuntu2.14

Vulnerable software versions

curl (Ubuntu package): 7.47.0-1ubuntu2.1, 7.47.0-1ubuntu2.2, 7.47.0-1ubuntu2.3, 7.47.0-1ubuntu2.4, 7.47.0-1ubuntu2.5, 7.47.0-1ubuntu2.6, 7.47.0-1ubuntu2.7, 7.47.0-1ubuntu2.8, 7.47.0-1ubuntu2.9, 7.47.0-1ubuntu2.11, 7.47.0-1ubuntu2.12, 7.47.0-1ubuntu2.13, 7.58.0-2ubuntu3.1, 7.58.0-2ubuntu3.2, 7.58.0-2ubuntu3.3, 7.58.0-2ubuntu3.5, 7.58.0-2ubuntu3.6, 7.58.0-2ubuntu3.7, 7.64.0-2ubuntu1.1

CPE External links

https://usn.ubuntu.com/4129-1/

Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.