#VU33343 Heap-based buffer overflow in libbsd


Published: 2020-08-04

Vulnerability identifier: #VU33343

Vulnerability risk: High

CVSSv3.1: 7.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2016-2090

CWE-ID: CWE-122

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
libbsd
Other software / Other software solutions

Vendor: libbsd.freedesktop.org

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

Off-by-one vulnerability in the fgetwln() function in libbsd before 0.8.2 allows attackers to have unspecified impact via unknown vectors, which trigger a heap-based buffer overflow.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation
Install update from vendor's website.

Vulnerable software versions

libbsd: 0.8.0 - 0.8.1


External links
http://www.openwall.com/lists/oss-security/2016/01/28/5
http://blog.fuzzing-project.org/36-Heap-buffer-overflow-in-fgetwln-function-of-libbsd.html
http://bugs.freedesktop.org/show_bug.cgi?id=93881
http://cgit.freedesktop.org/libbsd/commit/?id=c8f0723d2b4520bdd6b9eb7c3e7976de726d7ff7
http://lists.debian.org/debian-lts-announce/2019/12/msg00036.html
http://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7KJE5SPSX7HEKLZ34LUTZLXWPEL2K353/
http://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DIQKQ42Z7553D46QY3IMIQKS52QTNIHY/
http://security.gentoo.org/glsa/201607-13
http://usn.ubuntu.com/4243-1/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability