Debian DSA-4136-1 : curl - security update

High Nessus Plugin ID 108345

Synopsis

The remote Debian host is missing a security-related update.

Description

Multiple vulnerabilities were discovered in cURL, an URL transfer library.

- CVE-2018-1000120 Duy Phan Thanh discovered that curl could be fooled into writing a zero byte out of bounds when curl is told to work on an FTP URL with the setting to only issue a single CWD command, if the directory part of the URL contains a '%00' sequence.

- CVE-2018-1000121 Dario Weisser discovered that curl might dereference a near-NULL address when getting an LDAP URL due to the ldap_get_attribute_ber() function returning LDAP_SUCCESS and a NULL pointer. A malicious server might cause libcurl-using applications that allow LDAP URLs, or that allow redirects to LDAP URLs to crash.

- CVE-2018-1000122 OSS-fuzz, assisted by Max Dymond, discovered that curl could be tricked into copying data beyond the end of its heap based buffer when asked to transfer an RTSP URL.

Solution

Upgrade the curl packages.

For the oldstable distribution (jessie), these problems have been fixed in version 7.38.0-4+deb8u10.

For the stable distribution (stretch), these problems have been fixed in version 7.52.1-5+deb9u5.

See Also

https://security-tracker.debian.org/tracker/CVE-2018-1000120

https://security-tracker.debian.org/tracker/CVE-2018-1000121

https://security-tracker.debian.org/tracker/CVE-2018-1000122

https://security-tracker.debian.org/tracker/source-package/curl

https://packages.debian.org/source/jessie/curl

https://packages.debian.org/source/stretch/curl

https://www.debian.org/security/2018/dsa-4136

Plugin Details

Severity: High

ID: 108345

File Name: debian_DSA-4136.nasl

Version: 1.6

Type: local

Agent: unix

Published: 2018/03/15

Updated: 2018/11/13

Dependencies: 12634

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS v3.0

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:curl, cpe:/o:debian:debian_linux:8.0, cpe:/o:debian:debian_linux:9.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Patch Publication Date: 2018/03/14

Reference Information

CVE: CVE-2018-1000120, CVE-2018-1000121, CVE-2018-1000122

DSA: 4136