GLSA-201607-13 : libbsd: Arbitrary code execution

This script is Copyright (C) 2016-2017 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-201607-13
(libbsd: Arbitrary code execution)

libbsd contains a buffer overflow in the fgetwln() function. An if
statement, which is responsible for checking the necessity to reallocate
memory in the target buffer, is off by one therefore an out of bounds
write occurs.

Impact :

Remote attackers could potentially execute arbitrary code with the
privileges of the process.

Workaround :

There is no known workaround at this time.

See also :

https://security.gentoo.org/glsa/201607-13

Solution :

All libbsd users should upgrade to the latest version:
# emerge --sync
# emerge --ask --verbose --oneshot '>=dev-libs/libbsd-0.8.2'

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 92483 ()

Bugtraq ID:

CVE ID: CVE-2016-2090

Ready to Amp Up Your Nessus Experience?

Get Nessus Professional to scan unlimited IPs, run compliance checks & more

Buy Nessus Professional Now