[OE-core] [PATCH 09/46][dunfell] grub: fix an unitialized token in gnulib

2022-02-18 Thread Marta Rybczynska
This change adds a fix for an unitialized token structure in gnulib. It is a part of a security series [1]. [1] https://lists.gnu.org/archive/html/grub-devel/2021-03/msg7.html Signed-off-by: Marta Rybczynska --- ...mp-Fix-uninitialized-token-structure.patch | 53 +++ meta

[OE-core] [PATCH 06/46][dunfell] grub: fix memory leak at error in grub_efi_get_filename()

2022-02-18 Thread Marta Rybczynska
This change fixes a memory leak on error in grub_efi_get_filename(). It is a part of a security series [1]. [1] https://lists.gnu.org/archive/html/grub-devel/2021-03/msg7.html Signed-off-by: Marta Rybczynska --- ...-kern-efi-Fix-memory-leak-on-failure.patch | 30 +++ meta

[OE-core] [PATCH 07/46][dunfell] grub: add a fix for a possible NULL pointer dereference

2022-02-18 Thread Marta Rybczynska
This change fixes a possible NULL pointer dereference in grub's EFI support. It is a part of a security series [1]. [1] https://lists.gnu.org/archive/html/grub-devel/2021-03/msg7.html Signed-off-by: Marta Rybczynska --- ...ix-possible-NULL-pointer-dereference.patch | 65

[OE-core] [PATCH 04/46][dunfell] grub: fix wrong handling of argc == 0

2022-02-18 Thread Marta Rybczynska
This change fixes wrong handling of argc == 0 causing a memory leak. It is a part of a security series [1]. [1] https://lists.gnu.org/archive/html/grub-devel/2021-03/msg7.html Signed-off-by: Marta Rybczynska --- ...n-parser-Fix-resource-leak-if-argc-0.patch | 50 +++ meta

[OE-core] [PATCH 05/46][dunfell] grub: add a fix for malformed device path handling

2022-02-18 Thread Marta Rybczynska
-devel/2021-03/msg7.html Signed-off-by: Marta Rybczynska --- ...formed-device-path-arithmetic-errors.patch | 235 ++ meta/recipes-bsp/grub/grub2.inc | 1 + 2 files changed, 236 insertions(+) create mode 100644 meta/recipes-bsp/grub/files/0005-efi-Fix-some

[OE-core] [PATCH 02/46][dunfell] grub: add a fix for a possible NULL dereference

2022-02-18 Thread Marta Rybczynska
This fix removes a possible NULL pointer dereference in grub networking code. It is a part of a security series [1]. [1] https://lists.gnu.org/archive/html/grub-devel/2021-03/msg7.html Signed-off-by: Marta Rybczynska --- ...ible-dereference-to-of-a-NULL-pointe.patch | 39

[OE-core] [PATCH 01/46][dunfell] grub: fix a memory leak

2022-02-18 Thread Marta Rybczynska
Backport a fix for a memory leak in grub_mmap_iterate(). This patch is a part of a security series [1] [1] https://lists.gnu.org/archive/html/grub-devel/2021-03/msg7.html Signed-off-by: Marta Rybczynska --- ...leak-when-iterating-over-mapped-memo.patch | 39 +++ meta

[OE-core] [PATCH 03/46][dunfell] grub: fix a dangling memory pointer

2022-02-18 Thread Marta Rybczynska
This change fixes a dangling memory pointer in the grub TFTP code. It is a part of a security series [1]. [1] https://lists.gnu.org/archive/html/grub-devel/2021-03/msg7.html Signed-off-by: Marta Rybczynska --- ...net-tftp-Fix-dangling-memory-pointer.patch | 33 +++ meta

[OE-core] [PATCH 00/46][dunfell] grub 2.04 security fixes

2022-02-18 Thread Marta Rybczynska
issues, so seem worth having. Patches included here are also in Debian's backports [2]. [1] https://lists.gnu.org/archive/html/grub-devel/2021-03/msg7.html [2] https://salsa.debian.org/grub-team/grub/-/tree/debian/2.04-20/debian/patches/2021-02-security Marta Rybczynska (46): grub: fix

Re: [OE-core] [PATCH] cve-check: add json format

2022-02-10 Thread Marta Rybczynska
On Thu, Feb 10, 2022 at 3:36 PM Ross Burton wrote: > > > +from jsonmerge import Merger > > This isn't part of the standard Python library, you'll have to > replicate the logic. > > Do you mean copying part of the class or reimplementing it? > One suggestion would be to move more of the

Re: [OE-core] [PATCH] cve-check: add json format

2022-02-03 Thread Marta Rybczynska
On Tue, Jan 25, 2022 at 10:59 AM Marta Rybczynska via lists.openembedded.org wrote: > Add an option to output the CVE check in a JSON-based format. > This format is easier to parse in software than the original > text-based one and allows post-processing by other tools. > >

[dunfell][OE-core][PATCH 2/2] grub: add a fix for CVE-2020-25647

2022-01-26 Thread Marta Rybczynska
Signed-off-by: Marta Rybczynska --- .../grub/files/CVE-2020-25647.patch | 119 ++ meta/recipes-bsp/grub/grub2.inc | 1 + 2 files changed, 120 insertions(+) create mode 100644 meta/recipes-bsp/grub/files/CVE-2020-25647.patch diff --git a/meta/recipes-bsp

[dunfell][OE-core][PATCH 1/2] grub: add a fix for CVE-2020-25632

2022-01-26 Thread Marta Rybczynska
arbitrary code to be executed or a bypass of Secure Boot protections. This patch is a part of a bigger security collection for grub [2]. [1] https://nvd.nist.gov/vuln/detail/CVE-2020-25632 [2] https://lists.gnu.org/archive/html/grub-devel/2021-03/msg7.html Signed-off-by: Marta Rybczynska

[OE-core] [PATCH] cve-check: add json format

2022-01-25 Thread Marta Rybczynska
by default. The JSON output format gets generated in a similar way to the text format with the exception of the manifest: appending to JSON arrays requires parsing the file. Because of that we first write JSON fragments and then assemble them in one pass at the end. Signed-off-by: Marta Rybczynska

Re: [OE-core] [honister][PATCH 04/10] grub2: fix CVE-2021-3981

2022-01-17 Thread Marta Rybczynska
On Mon, Jan 10, 2022 at 10:01 AM Marta Rybczynska via lists.openembedded.org wrote: > > diff --git a/meta/recipes-bsp/grub/grub2.inc >> b/meta/recipes-bsp/grub/grub2.inc >> index bb791347dc..a72a562c5a 100644 >> --- a/meta/recipes-bsp/grub/grub2.inc >> +++ b/m

Re: [OE-core] [honister][PATCH 04/10] grub2: fix CVE-2021-3981

2022-01-10 Thread Marta Rybczynska
> diff --git a/meta/recipes-bsp/grub/grub2.inc > b/meta/recipes-bsp/grub/grub2.inc > index bb791347dc..a72a562c5a 100644 > --- a/meta/recipes-bsp/grub/grub2.inc > +++ b/meta/recipes-bsp/grub/grub2.inc > @@ -20,6 +20,7 @@ SRC_URI = "${GNU_MIRROR}/grub/grub-${PV}.tar.gz \ >

[OE-core] [dunfell][PATCH] grub: fix CVE-2020-14372 and CVE-2020-27779

2022-01-05 Thread Marta Rybczynska
From: Marta Rybczynska Fix issues with grub in secure boot mode where an attacker could circumvent secure boot by using acpi and cutmem commands. Also include patches fixing similar issues. Most patches are backported directly from grub. One patch (no-insmod-on-sb.patch) comes from Debian

Re: [oe-core][PATCH v2] cve-check: add coverage statistics on recipes without CVEs

2021-12-22 Thread Marta Rybczynska
On Wed, Dec 22, 2021 at 11:04 AM Ross Burton wrote: > On Mon, 20 Dec 2021 at 15:04, Marta Rybczynska > wrote: > > An example entry: > > LAYER: meta > > PACKAGE NAME: libsdl2-native > > PACKAGE VERSION: 2.0.14 > > CVES FOUND IN RECIPE: Yes > >

[oe-core][PATCH v2] cve-check: add coverage statistics on recipes without CVEs

2021-12-20 Thread Marta Rybczynska
, issues in the database and more. An example entry: LAYER: meta PACKAGE NAME: libsdl2-native PACKAGE VERSION: 2.0.14 CVES FOUND IN RECIPE: Yes PRODUCT: simple_directmedia_layer (Yes) PRODUCT: sdl (No) Signed-off-by: Marta Rybczynska --- meta/classes/cve-check.bbclass | 115

[OE-core] [dunfell][PATCH] bluez: fix CVE-2021-0129

2021-12-14 Thread Marta Rybczynska
From: Marta Rybczynska Improper access control in BlueZ may allow an authenticated user to potentially enable information disclosure via adjacent access. This issue can be fixed in the kernel, in BlueZ or both. This patch fixes it on the BlueZ side, so that the configuration no longer depends

Re: [OE-core] [dunfell][PATCH] gcc: Add CVE-2021-37322 to the list of CVEs to ignore

2021-12-09 Thread Marta Rybczynska
On Thu, Dec 9, 2021 at 7:53 AM Tim Orling wrote: > > From: Richard Purdie > > The CVE applies to binutils 2.26 and not to gcc so ignore there. > Tim, Have you requested a NVD database change on this one? Or you prefer me to do it? Kind regards, Marta -=-=-=-=-=-=-=-=-=-=-=- Links: You receive

[oe-core][dunfell][PATCH] libgcrypt: solve CVE-2021-33560 and CVE-2021-40528

2021-12-05 Thread Marta Rybczynska
://eprint.iacr.org/2021/923.pdf [2] https://dev.gnupg.org/rCb118681ebc4c9ea4b9da79b0f9541405a64f4c13 [3] https://dev.gnupg.org/T5328#149606 Signed-off-by: Marta Rybczynska --- .../libgcrypt/files/CVE-2021-33560.patch | 138 +++--- .../libgcrypt/files/CVE-2021-40528.patch

[oe-core][dunfell][PATCH] python3: upgrade 3.8.11 -> 3.8.12

2021-11-26 Thread Marta Rybczynska
gelog.html#changelog Signed-off-by: Marta Rybczynska --- .../python/{python3_3.8.11.bb => python3_3.8.12.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/python/{python3_3.8.11.bb => python3_3.8.12.bb} (99%) diff --git a/meta/recipes

Re: [OE-core] [dunfell][meta-oe][PATCH] networkmanager: update to 1.22.16

2021-11-03 Thread Marta Rybczynska
> Best regards, > > Steve > > On Tue, Nov 2, 2021 at 9:20 PM Marta Rybczynska > wrote: > > > > NetworkManager 1.22.16 contains a fix for CVE-2020-10754. > > > > This version includes an additional option by default for firewalld > zones, > >

[OE-core] [dunfell][meta-oe][PATCH] nss: add a patch for CVE-2020-12403

2021-11-03 Thread Marta Rybczynska
a20. Signed-off-by: Marta Rybczynska --- .../nss/nss/CVE-2020-12403.patch | 68 + .../nss/nss/CVE-2020-12403_2.patch| 96 +++ meta-oe/recipes-support/nss/nss_3.51.1.bb | 2 + 3 files changed, 166 insertions(+) create mode 100644 meta-oe/reci

[OE-core] [dunfell][meta-oe][PATCH] networkmanager: update to 1.22.16

2021-11-03 Thread Marta Rybczynska
from gatesgarth meta-openembedded 165ad9ad4c86c9e63f3afcf3172c8e1d3629f3a5 required for the build. Signed-off-by: Marta Rybczynska --- .../fix_reallocarray_check.patch | 27 +++ ...r_1.22.10.bb => networkmanager_1.22.16.bb} | 7 - 2 files changed, 33 inserti

[OE-core] [meta-oe][PATCH v2] lzo: add CVE_PRODUCT

2021-08-20 Thread Marta Rybczynska
lzo was missing CVE_PRODUCT and related CVEs (at least CVE-2014-4607) were not reported. Signed-off-by: Marta Rybczynska --- meta/recipes-support/lzo/lzo_2.10.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-support/lzo/lzo_2.10.bb b/meta/recipes-support/lzo/lzo_2.10.bb

Re: [OE-core][PATCH] classes/cve-check: Move get_patches_cves to library

2021-08-19 Thread Marta Rybczynska
On Wed, Aug 11, 2021 at 4:52 PM Joshua Watt wrote: > Moving the function will allow other classes to capture which CVEs have > been patched, in particular SBoM generation. > > Also add a function to capture the CPE ID from the CVE Product and > Version > > Do you have a link to some resource on

Re: [OE-core] [meta-oe][PATCH] lzo: add CVE_PRODUCT

2021-08-19 Thread Marta Rybczynska
Ross Burton wrote: > This replaces the default value of 'lzo', it might be safer to use += > so both this name and just lzo are searched for. > > The CVE database isn't very reliable for consistent naming, so I > prefer to cover all bases. > > Ross > > On Thu, 19 Aug 2021

[OE-core] [meta-oe][PATCH] lzo: add CVE_PRODUCT

2021-08-19 Thread Marta Rybczynska
lzo was missing CVE_PRODUCT and related CVEs (at least CVE-2014-4607) were not reported. Signed-off-by: Marta Rybczynska --- meta/recipes-support/lzo/lzo_2.10.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-support/lzo/lzo_2.10.bb b/meta/recipes-support/lzo/lzo_2.10.bb

[OE-core] [meta-oe][PATCH] cve-check: add coverage statistics on recipes without CVEs

2021-08-10 Thread Marta Rybczynska
CPEs, issues in the database and more. An example entry: LAYER: meta PACKAGE NAME: libsdl2-native PACKAGE VERSION: 2.0.14 CVES FOUND IN RECIPE: Yes PRODUCT: simple_directmedia_layer (Yes) PRODUCT: sdl (No) Signed-of-by: Marta Rybczynska --- meta/classes/cve-check.bbclass | 115

<    1   2   3