FreeBSD : curl -- libcurl buffer overflow vulnerability (c8c31c41-49ed-11df-83fb-0015587e2cc1)

medium Nessus Plugin ID 45574

Language:

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 FreeBSD host is missing a security-related update.

Description

The cURL project reports in a security advisory :

Using the affected libcurl version to download compressed content over HTTP, an application can ask libcurl to automatically uncompress data.
When doing so, libcurl can wrongly send data up to 64K in size to the callback which thus is much larger than the documented maximum size.

An application that blindly trusts libcurl's max limit for a fixed buffer size or similar is then a possible target for a buffer overflow vulnerability.

Solution

Update the affected package.

See Also

https://curl.haxx.se/docs/CVE-2010-0734.html

https://www.openwall.com/lists/oss-security/2010/02/09/5

http://www.nessus.org/u?14692fcd

Plugin Details

Severity: Medium

ID: 45574

File Name: freebsd_pkg_c8c31c4149ed11df83fb0015587e2cc1.nasl

Version: 1.12

Type: local

Published: 4/20/2010

Updated: 1/6/2021

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.8

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:curl, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 4/19/2010

Vulnerability Publication Date: 2/9/2010

Reference Information

CVE: CVE-2010-0734

DSA: 2023