Bug 8980 - glibc: CVE-2015-8776 CVE-2015-8777 CVE-2015-8778 CVE-2015-9761 CVE-2015-8779
Summary: glibc: CVE-2015-8776 CVE-2015-8777 CVE-2015-8778 CVE-2015-9761 CVE-2015-8779
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: High major
Target Milestone: 2.1 M3
Assignee: Armin Kuster
QA Contact: Alexandru Roman
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-01-22 01:27 UTC by Armin Kuster
Modified: 2016-04-08 10:05 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Armin Kuster 2016-01-22 01:27:28 UTC
Hi,

we are preparing the glibc 2.23 release upstream and have fixed the
following security bugs which, to my best knowledge, lack public CVE
assignment so far:

Passing out of range data to strftime() causes a segfault
https://sourceware.org/bugzilla/show_bug.cgi?id=18985

Out-of-range time values passed to the strftime function may cause it to
crash, leading to a denial of service, or potentially disclosure
information.

LD_POINTER_GUARD is not ignored for privileged binaries
https://sourceware.org/bugzilla/show_bug.cgi?id=18928

LD_POINTER_GUARD was an environment variable which controls
security-related behavior, but was not ignored for privileged binaries
(in AT_SECURE mode).  This might allow local attackers (who can supply
the environment variable) to bypass intended security restrictions.

hcreate((size_t)-1) should fail with ENOMEM
https://sourceware.org/bugzilla/show_bug.cgi?id=18240

This is an integer overflow in hcreate and hcreate_r which can result in
an out-of-bound memory access.  This could lead to application crashes
or, potentially, arbitrary code execution.

nan function unbounded stack allocation
https://sourceware.org/bugzilla/show_bug.cgi?id=16962

A stack overflow (unbounded alloca) can cause applications which process
long strings with the nan function to crash or, potentially, execute
arbitrary code.

catopen() Multiple unbounded stack allocations
https://sourceware.org/bugzilla/show_bug.cgi?id=17905

A stack overflow (unbounded alloca) in the catopen function can cause
applications which pass long strings to the catopen function to crash
or, potentially execute arbitrary code.


Several people have asked for CVE assignment for swbz#18928 on
oss-security already.

Thanks,
Florian
Comment 1 Armin Kuster 2016-01-22 01:29:34 UTC
when master is updated we should get these for free.

Jethro and fido need patching
Comment 2 Armin Kuster 2016-01-23 03:44:08 UTC
CVE-2015-8778 does not have a good fix yet.
Comment 3 Armin Kuster 2016-01-24 23:01:25 UTC
Jethro and Fido patches submitted.
Comment 4 Armin Kuster 2016-02-08 23:11:10 UTC
are we going to pull in glibc 2.23?
Comment 5 Khem Raj 2016-02-08 23:16:51 UTC
yes 2.23 will be release this week or next. Waiting for that.
Comment 6 Armin Kuster 2016-02-17 16:28:43 UTC
(In reply to comment #5)
> yes 2.23 will be release this week or next. Waiting for that.

I have another security fix. it will have to be applied against 2.23. would prefer to do it once for master but time seems to be slipping away.

CVE-2015-7547: getaddrinfo() stack-based buffer overflow (Bug 18665).

https://sourceware.org/git/?p=glibc.git;a=commit;h=e9db92d3acfe1822d56d11abcea5bfc4c41cf6ca

will work on jethro and fido in the mean time.
Comment 7 Richard Purdie 2016-02-18 22:52:22 UTC
In the meantime I merged the CVE patches from jethro into master.
Comment 8 Armin Kuster 2016-02-20 01:00:38 UTC
master fixed.
Comment 9 Alexandru Roman 2016-04-08 10:05:48 UTC
Verified.