Skip to contentSkip to conversation

glibc: Added and whitelisted CVE patches

PATCH In review saloni 2 participants 2 messages Oct 28, 2020

lore
Share & tools
lore

saloni

author
#0 lore raw

PATCH 1/1 glibc: Added and whitelisted CVE patches

From: Saloni Jain <[email protected]>

Below CVE patches are whitelisted as not considered as security threats by Upstream Community:
1. CVE-2019-1010022

2. CVE-2019-1010023

3. CVE-2019-1010024

4. CVE-2019-1010025

Below CVE patches are whitelisted as the changes are already present in the source-code:
1. CVE-2020-1751

2. CVE-2020-1752

3. CVE-2020-6096

4. CVE-2015-8985

5. CVE-2016-10739

6. CVE-2020-10029

7. CVE-2009-5155

Upstream-Status: Pending

---
 meta/recipes-core/glibc/glibc_2.31.bb | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)
meta/recipes-core/glibc/glibc_2.31.bb +19 -1
index 3d486fb..0233a06 100644
@@ -1,7 +1,25 @@
 require glibc.inc
 require glibc-version.inc
 
-CVE_CHECK_WHITELIST += "CVE-2020-10029 CVE-2020-6096 CVE-2016-10228 CVE-2020-1751 CVE-2020-1752"
+#As confirmed by Upstream Community below patches are not considered security threats, hence whitelisted.
+CVE_CHECK_WHITELIST += "\
+    CVE-2019-1010022 \
+    CVE-2019-1010023 \
+    CVE-2019-1010024 \
+    CVE-2019-1010025 \
+"
+
+#Changes are already present in source-code, hence whitelisted.
+CVE_CHECK_WHITELIST += "\
+    CVE-2009-5155 \
+    CVE-2016-10739 \
+    CVE-2020-10029 \
+    CVE-2015-8985 \
+    CVE-2020-6096 \
+    CVE-2016-10228 \
+    CVE-2020-1751 \
+    CVE-2020-1752 \
+"
 
 DEPENDS += "gperf-native bison-native make-native"
 

--
2.7.4

This message contains information that may be privileged or confidential and is the property of the KPIT Technologies Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Technologies Ltd. does not accept any liability for virus infected mails.

#1 lore raw
Quoted 6 lines · saloni

From: Saloni Jain <[email protected]>

Below CVE patches are whitelisted as not considered as security threats by Upstream Community:
1. CVE-2019-1010022

Quoted 7 lines

2. CVE-2019-1010023

3. CVE-2019-1010024

4. CVE-2019-1010025

As with the master version of the patch, these look fine to me.

Quoted 13 lines

Below CVE patches are whitelisted as the changes are already present in the source-code:
1. CVE-2020-1751

2. CVE-2020-1752

3. CVE-2020-6096

4. CVE-2015-8985

5. CVE-2016-10739

Quoted 8 lines

6. CVE-2020-10029

7. CVE-2009-5155

Also like master, these CVE's do not show up in a CVE scan of dunfell, so remove for v2:

https://lists.yoctoproject.org/g/yocto-security/topic/oe_core_cve_metrics_for/77796289?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,77796289

Quoted 1 line

Upstream-Status: Pending

Please remove for v2

Thanks!

Steve

Quoted 43 lines
---
 meta/recipes-core/glibc/glibc_2.31.bb | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)
meta/recipes-core/glibc/glibc_2.31.bb +19 -2
index 3d486fb..0233a06 100644
@@ -1,7 +1,25 @@
 require glibc.inc
 require glibc-version.inc
 
-CVE_CHECK_WHITELIST += "CVE-2020-10029 CVE-2020-6096 CVE-2016-10228 CVE-2020-1751 CVE-2020-1752"
+#As confirmed by Upstream Community below patches are not considered security threats, hence whitelisted.
+CVE_CHECK_WHITELIST += "\
+    CVE-2019-1010022 \
+    CVE-2019-1010023 \
+    CVE-2019-1010024 \
+    CVE-2019-1010025 \
+"
+
+#Changes are already present in source-code, hence whitelisted.
+CVE_CHECK_WHITELIST += "\
+    CVE-2009-5155 \
+    CVE-2016-10739 \
+    CVE-2020-10029 \
+    CVE-2015-8985 \
+    CVE-2020-6096 \
+    CVE-2016-10228 \
+    CVE-2020-1751 \
+    CVE-2020-1752 \
+"
 
 DEPENDS += "gperf-native bison-native make-native"
 
--

2.7.4

This message contains information that may be privileged or confidential and is the property of the KPIT Technologies Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Technologies Ltd. does not accept any liability for virus infected mails.