Received: from mail5.wrs.com (mail5.wrs.com [192.103.53.11]) by mx.groups.io with SMTP id smtpd.web09.13995.1575912295469464498 for ; Mon, 09 Dec 2019 09:24:56 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: windriver.com, ip: 192.103.53.11, mailfrom: randy.macleod@windriver.com) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail5.wrs.com (8.15.2/8.15.2) with ESMTPS id xB9HOqpm000980 (version=TLSv1 cipher=AES256-SHA bits=256 verify=FAIL); Mon, 9 Dec 2019 09:24:52 -0800 Received: from [172.25.44.8] (172.25.44.8) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.3.468.0; Mon, 9 Dec 2019 09:24:51 -0800 Subject: Re: [yocto] Fixing vulnerabilities in glibc #yocto To: , , Armin Kuster References: From: "Randy MacLeod" Message-ID: <03db9b27-a262-a756-b275-16a0b5a1d195@windriver.com> Date: Mon, 9 Dec 2019 12:24:50 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 In-Reply-To: X-Originating-IP: [172.25.44.8] Content-Type: multipart/alternative; boundary="------------52353943815958525F3BEA89" Content-Language: en-CA --------------52353943815958525F3BEA89 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by mail5.wrs.com id xB9HOqpm000980 On 12/9/19 8:48 AM, milunj via Lists.Yoctoproject.Org wrote: > My greeting to all > I am new on yocto project and yocto build environment is also new to=20 > me ... > My working task is removing=C2=A0 vulnerabilities from libc library... > The processor is based on arm5 while newer yoctos 2.7.x and 3.x. do=20 > not provide environment support for arm5 based processors. > > The glibc vulnerabilities are fixed in the latest glibc 2.30 released.=20 > package=20 > while yocto 2.6.x=C2=A0 includes 2.28 package. > Also some of glibc vulnerabilities are patched in 2.6.4=20 > (\oecore-thud-20.0.4.tar\oecore-thud-20.0.4\meta\recipes-core\glibc\gli= bc): > > CVE-2016-10739 > CVE-2018-19591 > CVE-2019-6488 > CVE-2019-7309 > CVE-2019-9169 > while there are some others those have not been patched: > https://web.nvd.nist.gov/view/vuln/detail?vulnId=3DCVE-2005-3590 > https://web.nvd.nist.gov/view/vuln/detail?vulnId=3DCVE-2006-7254 > https://web.nvd.nist.gov/view/vuln/detail?vulnId=3DCVE-2018-20796 > https://web.nvd.nist.gov/view/vuln/detail?vulnId=3DCVE-2019-9192 > > Does anyone know whether new vulnerability patches will be applied for=20 > yocto 2.6.5 and=C2=A0 when will be released yocto 2.6.5 ? Welcome Milun, The 2.6.4 was released in early November 2019 and I don't see any plans to ever release 2.6.5 but I've CCed Armin to confirm if this is the official YP plan. As for patches to the 'thud' branch after 2.6.4: =C2=A0 ( see also: http://git.yoctoproject.org/cgit/cgit.cgi/poky/log/?h= =3Dthud ) $ cd ../poky.git; git checkout thud; git pull $ git branch --contains yocto-2.6.4 * thud $ git log --oneline yocto-2.6.4... 8cd3ee6e1a (HEAD -> thud, origin/thud) linux-yocto/4.14: meta-yocto-bsp=20 update to 143 5bb142d7dd meta-yocto-bsp: Bump to the latest stable kernel for the BSPs a8640d9a60 bitbake: fetch2: Ensure cached url data is matched to a datast= ore 3e42c33da5 documentation: Setup for 2.6.4 release 532f2df770 bitbake: bitbake-worker child process create group before=20 registering SIGTERM handler So it doesn't look like there are any CVE fixes there. If you prefer not to do such work yourself, there are consultants and=20 support organizations that provide support for much longer than the ~1 year YP timeline. See=20 the list of companies on: https://www.yoctoproject.org/ecosystem/yocto-project-compatible-product-s= howcase/ The supported releases listed on page is out of date and I'll get it=20 updated. Good luck, ../Randy > Thank you in advance > Milun > > > > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- > Links: You receive all messages sent to this group. > > View/Reply Online (#47603): https://lists.yoctoproject.org/g/yocto/mess= age/47603 > Mute This Topic: https://lists.yoctoproject.org/mt/67793912/3616765 > Mute #yocto: https://lists.yoctoproject.org/mk?hashtag=3Dyocto&subid=3D= 6692177 > Group Owner: yocto+owner@lists.yoctoproject.org > Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [randy.macle= od@windriver.com] > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- --=20 # Randy MacLeod # Wind River Linux --------------52353943815958525F3BEA89 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by mail5.wrs.com id xB9HOqpm000980
On 12/9/19 8:48 AM, milunj via Lists.Yoctoproject.Org wrote:
My greeting to all
I am new on yocto project and yocto build environment is also new to me ...
My working task is removing=C2=A0 vulnerabilities from libc library= ...
The processor is based on arm5 while newer yoctos 2.7.x and 3.x. do not provide environment support for arm5 based processors.

The glibc vulnerabilities are fixed in the latest glibc 2.30 released. package while yocto 2.6.x=C2=A0 includes 2.28 package.
Also some of glibc vulnerabilities are patched in 2.6.4 (\oecore-thud-20.0.4.tar\oecore-thud-20.0.4\meta\recipes-core\glibc\glibc= ):

CVE-2016-10739
CVE-2018-19591
CVE-2019-6488
CVE-2019-7309
CVE-2019-9169
while there are some others those have not been patched:


Welcome Milun,

The 2.6.4 was released in early November 2019 and
I don't see any plans to ever release 2.6.5 but I've
CCed Armin to confirm if this is the official YP plan.

As for patches to the 'thud' branch after 2.6.4:
=C2=A0 ( see also: http://git.yoctoproject.org/cgit/cg= it.cgi/poky/log/?h=3Dthud )

$ cd ../poky.git; git checkout thud; git pull

$ git branch --contains yocto-2.6.4
* thud

$ git log --oneline yocto-2.6.4...
8cd3ee6e1a (HEAD -> thud, origin/thud) linux-yocto/4.14: meta-yocto-bsp update to 143
5bb142d7dd meta-yocto-bsp: Bump to the latest stable kernel for the BSPs
a8640d9a60 bitbake: fetch2: Ensure cached url data is matched to a datastore
3e42c33da5 documentation: Setup for 2.6.4 release
532f2df770 bitbake: bitbake-worker child process create group before registering SIGTERM handler

So it doesn't look like there are any CVE fixes there.

If you prefer not to do such work yourself, there are consultants and support organizations
that provide support for much longer than the ~1 year YP timeline. See the list of companies on:
=C2=A0=C2=A0 https://www.yoctopro= ject.org/ecosystem/yocto-project-compatible-product-showcase/
The supported releases listed on page is out of date and I'll get it updated.

Good luck,

../Randy


Thank you in advance
Milun
=C2=A0



-=3D-=3D-=3D-=3D-=3D-=3D-=3D=
-=3D-=3D-=3D-=3D-
Links: You receive all messages sent to this group.

View/Reply Online (#47603): https://lists.yoctopr=
oject.org/g/yocto/message/47603
Mute This Topic: https://lists.yoctoproject.org/mt/=
67793912/3616765
Mute #yocto: https://lists.yocto=
project.org/mk?hashtag=3Dyocto&subid=3D6692177
Group Owner: yocto+owner@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub=
  [randy.macleod@windriver.com]
-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-


--=20
# Randy MacLeod
# Wind River Linux
--------------52353943815958525F3BEA89--