Debian DSA-4331-1 : curl - security update

High Nessus Plugin ID 118720

Synopsis

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

Description

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

- CVE-2018-16839
Harry Sintonen discovered that, on systems with a 32 bit
size_t, an integer overflow would be triggered when a
SASL user name longer than 2GB is used. This would in
turn cause a very small buffer to be allocated instead
of the intended very huge one, which would trigger a
heap buffer overflow when the buffer is used.

- CVE-2018-16842
Brian Carpenter discovered that the logic in the curl
tool to wrap error messages at 80 columns is flawed,
leading to a read buffer overflow if a single word in
the message is itself longer than 80 bytes.

Solution

Upgrade the curl packages.

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

See Also

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

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

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

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

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

Plugin Details

Severity: High

ID: 118720

File Name: debian_DSA-4331.nasl

Version: 1.4

Type: local

Agent: unix

Published: 2018/11/05

Modified: 2018/12/10

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

Patch Publication Date: 2018/11/02

Reference Information

CVE: CVE-2018-16839, CVE-2018-16842

DSA: 4331