Debian DSA-4331-1 : curl - security update

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

ID: 118720

File Name: debian_DSA-4331.nasl

Version: 1.5

Type: local

Agent: unix

Published: 11/5/2018

Updated: 4/29/2021

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

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

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

Exploit Ease: No known exploits are available

Patch Publication Date: 11/2/2018

Vulnerability Publication Date: 10/31/2018

Reference Information

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

DSA: 4331