Debian DSA-4136-1 : curl - security update

critical Nessus Plugin ID 108345
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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

ID: 108345

File Name: debian_DSA-4136.nasl

Version: 1.6

Type: local

Agent: unix

Published: 3/15/2018

Updated: 11/13/2018

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Medium

Score: 6

CVSS v2

Risk Factor: High

Base Score: 7.5

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

CVSS v3

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