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

Medium Nessus Plugin ID 100828


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


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.


Update the affected package.

See Also

Plugin Details

Severity: Medium

ID: 100828

File Name: freebsd_pkg_9314058e520411e7b712b1a44a034d72.nasl

Version: 3.5

Type: local

Published: 2017/06/16

Updated: 2018/12/19

Dependencies: 12634

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 5

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

CVSS v3.0

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

Vulnerability Publication Date: 2017/06/14

Reference Information

CVE: CVE-2017-9502