FreeBSD : cURL -- URL file scheme drive letter buffer overflow (9314058e-5204-11e7-b712-b1a44a034d72)

medium Nessus Plugin ID 100828

Language:

Synopsis

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

Description

cURL security advisory :

When libcurl is given either

1. a file: URL that doesn't use two slashes following the colon, or

2. is told that file is the default scheme to use for URLs without scheme

... and the given path starts with a drive letter and libcurl is built for Windows or DOS, then libcurl would copy the path with a wrong offset, so that the end of the given path would write beyond the malloc buffer. Up to seven bytes too much.

We are not aware of any exploit of this flaw.

Solution

Update the affected package.

See Also

https://curl.haxx.se/docs/CVE-2017-9502.html

http://www.nessus.org/u?dea0e919

Plugin Details

Severity: Medium

ID: 100828

File Name: freebsd_pkg_9314058e520411e7b712b1a44a034d72.nasl

Version: 3.6

Type: local

Published: 6/16/2017

Updated: 1/4/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 1.4

CVSS v2

Risk Factor: Medium

Base Score: 5

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

CVSS v3

Risk Factor: Medium

Base Score: 5.3

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

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: 6/15/2017

Vulnerability Publication Date: 6/14/2017

Reference Information

CVE: CVE-2017-9502