summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2020-01-17 19:04:21 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-28 11:15:01 +0000
commit78c2ea18773ec38af4adb2fc58ef2d3efe3aa2a6 (patch)
treef55d22393ffec69f46fadc49aa860ccb5aa39bfe
parent57da5247c05f87ab35a900a06f9731323d68bf77 (diff)
downloadpoky-78c2ea18773ec38af4adb2fc58ef2d3efe3aa2a6.tar.gz
python/python3: Whitelist CVE-2019-18348
This is not exploitable when glibc has CVE-2016-10739 fixed, which is fixed in the upstream version since warrior. (From OE-Core rev: a2507600fecdf815ad80da569c5e8ad65286b812) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/python/python.inc3
-rw-r--r--meta/recipes-devtools/python/python3_3.7.5.bb3
2 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python.inc b/meta/recipes-devtools/python/python.inc
index 5d280dc63b..a2424a67bf 100644
--- a/meta/recipes-devtools/python/python.inc
+++ b/meta/recipes-devtools/python/python.inc
@@ -29,6 +29,9 @@ CVE_CHECK_WHITELIST += "CVE-2017-18207"
29# of Python that cannot really be altered at this point." 29# of Python that cannot really be altered at this point."
30CVE_CHECK_WHITELIST += "CVE-2015-5652" 30CVE_CHECK_WHITELIST += "CVE-2015-5652"
31 31
32# This is not exploitable when glibc has CVE-2016-10739 fixed.
33CVE_CHECK_WHITELIST += "CVE-2019-18348"
34
32PYTHON_MAJMIN = "2.7" 35PYTHON_MAJMIN = "2.7"
33 36
34inherit autotools pkgconfig 37inherit autotools pkgconfig
diff --git a/meta/recipes-devtools/python/python3_3.7.5.bb b/meta/recipes-devtools/python/python3_3.7.5.bb
index c560c4a29d..c90054d45a 100644
--- a/meta/recipes-devtools/python/python3_3.7.5.bb
+++ b/meta/recipes-devtools/python/python3_3.7.5.bb
@@ -46,6 +46,9 @@ UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar"
46 46
47CVE_PRODUCT = "python" 47CVE_PRODUCT = "python"
48 48
49# This is not exploitable when glibc has CVE-2016-10739 fixed.
50CVE_CHECK_WHITELIST += "CVE-2019-18348"
51
49PYTHON_MAJMIN = "3.7" 52PYTHON_MAJMIN = "3.7"
50PYTHON_BINABI = "${PYTHON_MAJMIN}m" 53PYTHON_BINABI = "${PYTHON_MAJMIN}m"
51 54