Bug 1302622 - (CVE-2016-2090) CVE-2016-2090 libbsd: heap buffer overflow in fgetwln function
CVE-2016-2090 libbsd: heap buffer overflow in fgetwln function
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20160127,reported=2...
: Security
Depends On: 1302623 1302624 1302625 1302626
Blocks:
  Show dependency treegraph
 
Reported: 2016-01-28 04:58 EST by Andrej Nemec
Modified: 2016-01-30 18:10 EST (History)
1 user (show)

See Also:
Fixed In Version: libbsd 0.8.2
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Andrej Nemec 2016-01-28 04:58:04 EST
libbsd 0.8.1 and earlier contains a buffer overflow in the function
fgetwln(). An if checks if it is necessary to reallocate memory in the
target buffer. However this check is off by one, therefore an out of
bounds write happens.

Original bug report

https://bugs.freedesktop.org/show_bug.cgi?id=93881

Upstream fix:

http://cgit.freedesktop.org/libbsd/commit/?id=c8f0723d2b4520bdd6b9eb7c3e7976de726d7ff7

External reference:

https://blog.fuzzing-project.org/36-Heap-buffer-overflow-in-fgetwln-function-of-libbsd.html

CVE assignment:

http://seclists.org/oss-sec/2016/q1/234
Comment 1 Andrej Nemec 2016-01-28 04:58:50 EST
Created libbsd tracking bugs for this issue:

Affects: fedora-all [bug 1302623]
Affects: epel-5 [bug 1302624]
Affects: epel-6 [bug 1302625]
Affects: epel-7 [bug 1302626]

Note You need to log in before you can comment on or make changes to this bug.