Debian DSA-4136-1 : curl - security update

critical Nessus Plugin ID 108345


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


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.


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

Plugin Details

Severity: Critical

ID: 108345

File Name: debian_DSA-4136.nasl

Version: 1.6

Type: local

Agent: unix

Published: 3/15/2018

Updated: 11/13/2018

Supported Sensors: Frictionless Assessment Agent, Nessus Agent

Risk Information


Risk Factor: Medium

Score: 6.7


Risk Factor: High

Base Score: 7.5

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


Risk Factor: Critical

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: 3/14/2018

Reference Information

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

DSA: 4136