From 57da5247c05f87ab35a900a06f9731323d68bf77 Mon Sep 17 00:00:00 2001 From: Adrian Bunk Date: Fri, 17 Jan 2020 19:04:20 +0200 Subject: python: Whitelist CVE-2017-17522 CVE-2017-18207 CVE-2015-5652 One Windows-only CVE that cannot be fixed, and two CVEs where upstream agreement is that they are not vulnerabilities. (From OE-Core rev: 1b69d141b73e46cc377f8566868da44dd5b1ea42) Signed-off-by: Adrian Bunk Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python.inc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/meta/recipes-devtools/python/python.inc b/meta/recipes-devtools/python/python.inc index b093ea6f09..5d280dc63b 100644 --- a/meta/recipes-devtools/python/python.inc +++ b/meta/recipes-devtools/python/python.inc @@ -19,6 +19,16 @@ UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P2(\.\d+)+).tar" CVE_PRODUCT = "python" +# Upstream agreement is that these are not security issues: +# https://bugs.python.org/issue32367 +CVE_CHECK_WHITELIST += "CVE-2017-17522" +# https://bugs.python.org/issue32056 +CVE_CHECK_WHITELIST += "CVE-2017-18207" + +# Windows-only, "It was determined that this is a longtime behavior +# of Python that cannot really be altered at this point." +CVE_CHECK_WHITELIST += "CVE-2015-5652" + PYTHON_MAJMIN = "2.7" inherit autotools pkgconfig -- cgit v1.2.3-54-g00ecf