GLSA-201607-13 : libbsd: Arbitrary code execution
High Nessus Plugin ID 92483
SynopsisThe remote Gentoo host is missing one or more security-related patches.
DescriptionThe 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.
Remote attackers could potentially execute arbitrary code with the privileges of the process.
There is no known workaround at this time.
SolutionAll libbsd users should upgrade to the latest version:
# emerge --sync # emerge --ask --verbose --oneshot '>=dev-libs/libbsd-0.8.2'